Linux Security Cookbook [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Linux Security Cookbook [Electronic resources] - نسخه متنی

Daniel J. Barrett, Robert G. Byrnes, Richard Silverman

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید










Recipe 7.23 Maintaining Encrypted Files with Emacs



7.23.1 Problem


You want to edit encrypted files in
place with

GNU Emacs, without decrypting them to disk.


7.23.2 Solution


Use the Emacs package
crypt++.el:

~/.emacs:
(if (load "crypt++" t)
(progn
(setq crypt-encryption-type 'gpg)
(setq crypt-confirm-password t)
(crypt-rebuild-tables)))


7.23.3 Discussion


crypt++ provides a transparent
editing mode for encrypted files. Once the
package is installed and loaded, simply edit any GnuPG-encrypted
file. You'll be prompted for the passphrase within
Emacs, and the file will be decrypted and inserted into an Emacs
buffer. When you save the file, it will be re-encrypted
automatically.


7.23.4 See Also


Crypt++ is available from http://freshmeat.net/projects/crypt and
http://www.cs.umb.edu/~karl/crypt++/crypt++.el.

/ 247