all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Is there an emacs security answer vs vim??
@ 2006-11-27 18:32 William Case
  2006-11-27 21:22 ` J. David Boyd
       [not found] ` <mailman.1201.1164684357.2155.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 7+ messages in thread
From: William Case @ 2006-11-27 18:32 UTC (permalink / raw)


Hi;

I use emacs.  I posed a security question on the Fedora list.  Got some
useful answers but then the thread drifted off to a discussion of vim
-x.  No mention of emacs.  Is there an emacs answer?

Original question: 
"Need suggestions for a good lockbox -- a specialized application or an
appropriate technique for locking away sensitive personal information.

I am not normally a paranoid security freak. I keep my single user (and
occasional guests) desktop and Internet system fairly open and loose.
However, I would like to create one secure file or folder in which I can
record as text things like a long list of user names and passwords for
web sites -- to range from minor not often used sites, to Bank Accounts,
paypal, some personal data with serial numbers etc.

Is there a special program that exists for creating and locking up such
a file without interfering with my generally open way of doing things?
Any recommendations graciously received."

Vim answer:
"If you want something really simple, there is:
vi -x filename  It will prompt for the encryption key and keep the file
copy encrypted."

My thread then drifted into a discussion by respondents about vim -x !

I prefer using emacs, is there a way to use or set up a protected
(encrypted ??) emacs file or directory?

-- 
Regards Bill

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Is there an emacs security answer vs vim??
  2006-11-27 18:32 Is there an emacs security answer vs vim?? William Case
@ 2006-11-27 21:22 ` J. David Boyd
       [not found] ` <mailman.1201.1164684357.2155.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 7+ messages in thread
From: J. David Boyd @ 2006-11-27 21:22 UTC (permalink / raw)


William Case <billlinux@.......com> writes:

> Hi;
>
> I use emacs.  I posed a security question on the Fedora list.  Got some
> useful answers but then the thread drifted off to a discussion of vim
> -x.  No mention of emacs.  Is there an emacs answer?
>
> Original question: 
> "Need suggestions for a good lockbox -- a specialized application or an
> appropriate technique for locking away sensitive personal information.
>
> I am not normally a paranoid security freak. I keep my single user (and
> occasional guests) desktop and Internet system fairly open and loose.
> However, I would like to create one secure file or folder in which I can
> record as text things like a long list of user names and passwords for
> web sites -- to range from minor not often used sites, to Bank Accounts,
> paypal, some personal data with serial numbers etc.
>
> Is there a special program that exists for creating and locking up such
> a file without interfering with my generally open way of doing things?
> Any recommendations graciously received."
>
> Vim answer:
> "If you want something really simple, there is:
> vi -x filename  It will prompt for the encryption key and keep the file
> copy encrypted."
>
> My thread then drifted into a discussion by respondents about vim -x !
>
> I prefer using emacs, is there a way to use or set up a protected
> (encrypted ??) emacs file or directory?
>
> -- 
> Regards Bill


Hmm, you can try (info "(pgg)").  It uses GPG to provide functions for
encryption/decryption.

Dave

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Is there an emacs security answer vs vim??
       [not found] <mailman.1179.1164652379.2155.help-gnu-emacs@gnu.org>
@ 2006-11-28 19:01 ` Erich Wälde
  2006-11-28 21:11   ` Lowell Gilbert
  2006-11-29  8:39 ` Tim X
  1 sibling, 1 reply; 7+ messages in thread
From: Erich Wälde @ 2006-11-28 19:01 UTC (permalink / raw)


William Case wrote:
> Hi;
> 
> I use emacs.  
[snip]
> Vim answer:
> "If you want something really simple, there is:
> vi -x filename  It will prompt for the encryption key and keep the file
> copy encrypted."
> 
> My thread then drifted into a discussion by respondents about vim -x !
> 
> I prefer using emacs, is there a way to use or set up a protected
> (encrypted ??) emacs file or directory?
> 

Check out

  http://www.emacswiki.org/   -> Modes -> AutoEncryption

  http://www.emacswiki.org/cgi-bin/emacs-en/AutoEncryption

for more information. I'm using crypt++, starting off with a file,
file.txt say, I encrypt it manually the first time
$ gpg --symmetric --armor file.txt
Enter passphrase:
repeat passphrase:
$

This creates a new file "file.txt.asc", which I open with emacs
(assuming crypt++ to be set up). This will ask for the passphrase,
then decrypt the file for me into the buffer. When saving the file, it
will be encrypted again. You can then remove the cleartext file.

The use of "--armor" is disputable. While editing the file, there is
something like a autosave-file, the contents is clear in an emacs
buffer. This can be a problem on systems with more people logged in at
any time. So, I guess, this is not good for all possible scenarios.
Sadly crypt++ is not actively maintained any more. Volunteers, anyone?

Cheers,
Erich

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Is there an emacs security answer vs vim??
  2006-11-28 19:01 ` Erich Wälde
@ 2006-11-28 21:11   ` Lowell Gilbert
  0 siblings, 0 replies; 7+ messages in thread
From: Lowell Gilbert @ 2006-11-28 21:11 UTC (permalink / raw)


Erich Wälde <ew.ng116837@online.de> writes:

> Sadly crypt++ is not actively maintained any more. Volunteers, anyone?

Future releases will contain gpg.el instead.  
That depends on an external gpg executable.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Is there an emacs security answer vs vim??
       [not found] <mailman.1179.1164652379.2155.help-gnu-emacs@gnu.org>
  2006-11-28 19:01 ` Erich Wälde
@ 2006-11-29  8:39 ` Tim X
  1 sibling, 0 replies; 7+ messages in thread
From: Tim X @ 2006-11-29  8:39 UTC (permalink / raw)


William Case <billlinux@rogers.com> writes:

> Hi;
>
> I use emacs.  I posed a security question on the Fedora list.  Got some
> useful answers but then the thread drifted off to a discussion of vim
> -x.  No mention of emacs.  Is there an emacs answer?
>
> Original question: 
> "Need suggestions for a good lockbox -- a specialized application or an
> appropriate technique for locking away sensitive personal information.
>
> I am not normally a paranoid security freak. I keep my single user (and
> occasional guests) desktop and Internet system fairly open and loose.
> However, I would like to create one secure file or folder in which I can
> record as text things like a long list of user names and passwords for
> web sites -- to range from minor not often used sites, to Bank Accounts,
> paypal, some personal data with serial numbers etc.
>
> Is there a special program that exists for creating and locking up such
> a file without interfering with my generally open way of doing things?
> Any recommendations graciously received."
>
> Vim answer:
> "If you want something really simple, there is:
> vi -x filename  It will prompt for the encryption key and keep the file
> copy encrypted."
>
> My thread then drifted into a discussion by respondents about vim -x !
>

It sounds like your looking for crypt++. With this mode, you encrypt a
file with a key and then whenever you try to open the file again in
emacs, it will ask you for the key (passphrase). Essentially, it
sounds like it gives the same functionality as vi -x except you can
visit the files from within dired and the decryption/encryption
process is handled automagically for you. I use this witha file called
ccard, which contains my credit card info. When I want to purcahse
soemthing from a web site, I simply cut and past the info. 

I use debian and crypt++ is available as a debian package. however,
you can probably find a pointer to where the source can be downloaded
on the emacs wiki page at http://www.emacswiki.org/

HTH

Tim

-- 
tcross (at) rapttech dot com dot au

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Is there an emacs security answer vs vim??
       [not found] ` <mailman.1201.1164684357.2155.help-gnu-emacs@gnu.org>
@ 2006-11-29 11:22   ` Tim X
  2006-11-29 14:52     ` J. David Boyd
  0 siblings, 1 reply; 7+ messages in thread
From: Tim X @ 2006-11-29 11:22 UTC (permalink / raw)


david@adboyd.com (J. David Boyd) writes:

> William Case <billlinux@.......com> writes:
>
>> Hi;
>>
>> I use emacs.  I posed a security question on the Fedora list.  Got some
>> useful answers but then the thread drifted off to a discussion of vim
>> -x.  No mention of emacs.  Is there an emacs answer?
>>
>> Original question: 
>> "Need suggestions for a good lockbox -- a specialized application or an
>> appropriate technique for locking away sensitive personal information.
>>
>> I am not normally a paranoid security freak. I keep my single user (and
>> occasional guests) desktop and Internet system fairly open and loose.
>> However, I would like to create one secure file or folder in which I can
>> record as text things like a long list of user names and passwords for
>> web sites -- to range from minor not often used sites, to Bank Accounts,
>> paypal, some personal data with serial numbers etc.
>>
>> Is there a special program that exists for creating and locking up such
>> a file without interfering with my generally open way of doing things?
>> Any recommendations graciously received."
>>
>> Vim answer:
>> "If you want something really simple, there is:
>> vi -x filename  It will prompt for the encryption key and keep the file
>> copy encrypted."
>>
>> My thread then drifted into a discussion by respondents about vim -x !
>>
>> I prefer using emacs, is there a way to use or set up a protected
>> (encrypted ??) emacs file or directory?
>>
>> -- 
>> Regards Bill
>
>
> Hmm, you can try (info "(pgg)").  It uses GPG to provide functions for
> encryption/decryption.
>

Note however, pgp is only in emacs 22. 

Tim


-- 
tcross (at) rapttech dot com dot au

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Is there an emacs security answer vs vim??
  2006-11-29 11:22   ` Tim X
@ 2006-11-29 14:52     ` J. David Boyd
  0 siblings, 0 replies; 7+ messages in thread
From: J. David Boyd @ 2006-11-29 14:52 UTC (permalink / raw)


Tim X <timx@nospam.dev.null> writes:

> david@adboyd.com (J. David Boyd) writes:
>
>> William Case <billlinux@.......com> writes:
>>
>>> Hi;
>>>
>>> I use emacs.  I posed a security question on the Fedora list.  Got some
>>> useful answers but then the thread drifted off to a discussion of vim
>>> -x.  No mention of emacs.  Is there an emacs answer?
>>>
>>> Original question: 
>>> "Need suggestions for a good lockbox -- a specialized application or an
>>> appropriate technique for locking away sensitive personal information.
>>>
>>> I am not normally a paranoid security freak. I keep my single user (and
>>> occasional guests) desktop and Internet system fairly open and loose.
>>> However, I would like to create one secure file or folder in which I can
>>> record as text things like a long list of user names and passwords for
>>> web sites -- to range from minor not often used sites, to Bank Accounts,
>>> paypal, some personal data with serial numbers etc.
>>>
>>> Is there a special program that exists for creating and locking up such
>>> a file without interfering with my generally open way of doing things?
>>> Any recommendations graciously received."
>>>
>>> Vim answer:
>>> "If you want something really simple, there is:
>>> vi -x filename  It will prompt for the encryption key and keep the file
>>> copy encrypted."
>>>
>>> My thread then drifted into a discussion by respondents about vim -x !
>>>
>>> I prefer using emacs, is there a way to use or set up a protected
>>> (encrypted ??) emacs file or directory?
>>>
>>> -- 
>>> Regards Bill
>>
>>
>> Hmm, you can try (info "(pgg)").  It uses GPG to provide functions for
>> encryption/decryption.
>>
>
> Note however, pgp is only in emacs 22. 
>
Who would be using anything less? :=>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-11-29 14:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-27 18:32 Is there an emacs security answer vs vim?? William Case
2006-11-27 21:22 ` J. David Boyd
     [not found] ` <mailman.1201.1164684357.2155.help-gnu-emacs@gnu.org>
2006-11-29 11:22   ` Tim X
2006-11-29 14:52     ` J. David Boyd
     [not found] <mailman.1179.1164652379.2155.help-gnu-emacs@gnu.org>
2006-11-28 19:01 ` Erich Wälde
2006-11-28 21:11   ` Lowell Gilbert
2006-11-29  8:39 ` Tim X

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.