Re: Decrypt, Edit and Encrypt a File

2009-04-08 Thread Samuel Bächler
Douglas A. Tutty wrote: [snip] There are a limited number of place where a piece of software can leak info: 1. to /tmp:Its encrypted 2. to /var/tmp:Its encrypted 3. to somewhere on ~/ I have /home encrypted 4. left in swapits encr

Re: Decrypt, Edit and Encrypt a File

2009-04-08 Thread H.S.
Douglas A. Tutty wrote: > On Wed, Apr 08, 2009 at 11:26:20AM -0400, H.S. wrote: >> Douglas A. Tutty wrote: >>> On Tue, Apr 07, 2009 at 06:17:56PM -0400, H.S. wrote: Douglas A. Tutty wrote: > On Tue, Apr 07, 2009 at 05:46:31PM -0400, H.S. wrote: >> Douglas A. Tutty wrote: > >>> $ cat

Re: Decrypt, Edit and Encrypt a File

2009-04-08 Thread Douglas A. Tutty
On Wed, Apr 08, 2009 at 11:26:20AM -0400, H.S. wrote: > Douglas A. Tutty wrote: > > On Tue, Apr 07, 2009 at 06:17:56PM -0400, H.S. wrote: > >> Douglas A. Tutty wrote: > >>> On Tue, Apr 07, 2009 at 05:46:31PM -0400, H.S. wrote: > Douglas A. Tutty wrote: > > $ cat /proc/swaps: > > Filename

Re: Decrypt, Edit and Encrypt a File

2009-04-08 Thread H.S.
Douglas A. Tutty wrote: > On Tue, Apr 07, 2009 at 06:17:56PM -0400, H.S. wrote: >> Douglas A. Tutty wrote: >>> On Tue, Apr 07, 2009 at 05:46:31PM -0400, H.S. wrote: Douglas A. Tutty wrote: > Where does it hold the decrypted data? Does it stay in RAM, does it get > swapped, does it go

Re: Decrypt, Edit and Encrypt a File

2009-04-08 Thread Douglas A. Tutty
On Tue, Apr 07, 2009 at 06:17:56PM -0400, H.S. wrote: > Douglas A. Tutty wrote: > > On Tue, Apr 07, 2009 at 05:46:31PM -0400, H.S. wrote: > >> Douglas A. Tutty wrote: > >>> Where does it hold the decrypted data? Does it stay in RAM, does it get > >>> swapped, does it go to a scratch file? > >> Thi

Re: Decrypt, Edit and Encrypt a File

2009-04-07 Thread Sven Joachim
On 2009-04-08 00:17 +0200, H.S. wrote: > Douglas A. Tutty wrote: >> On Tue, Apr 07, 2009 at 05:46:31PM -0400, H.S. wrote: >>> Douglas A. Tutty wrote: Where does it hold the decrypted data? Does it stay in RAM, does it get swapped, does it go to a scratch file? >>> This might help: >>> h

Re: Decrypt, Edit and Encrypt a File

2009-04-07 Thread H.S.
Douglas A. Tutty wrote: > On Tue, Apr 07, 2009 at 05:46:31PM -0400, H.S. wrote: >> Douglas A. Tutty wrote: >>> Where does it hold the decrypted data? Does it stay in RAM, does it get >>> swapped, does it go to a scratch file? >> This might help: >> http://www.easypg.org/ > > yea, it looks like it

Re: Decrypt, Edit and Encrypt a File

2009-04-07 Thread Douglas A. Tutty
On Tue, Apr 07, 2009 at 05:46:31PM -0400, H.S. wrote: > Douglas A. Tutty wrote: > > > > Where does it hold the decrypted data? Does it stay in RAM, does it get > > swapped, does it go to a scratch file? > > This might help: > http://www.easypg.org/ yea, it looks like it can leak info. Doug.

Re: Decrypt, Edit and Encrypt a File

2009-04-07 Thread H.S.
Douglas A. Tutty wrote: > > Where does it hold the decrypted data? Does it stay in RAM, does it get > swapped, does it go to a scratch file? > > Doug. > > This might help: http://www.easypg.org/ -- Please reply to this list only. I read this list on its corresponding newsgroup on gmane.or

Re: Decrypt, Edit and Encrypt a File

2009-04-07 Thread Douglas A. Tutty
On Tue, Apr 07, 2009 at 11:16:37PM +0200, Samuel B?chler wrote: > Thanks a lot to everyone! > > Just as a short description: > I installed easypg. In the console environment I type `emacs keys.pgp'. > This starts emacs and prompts for passphrase of `keys.pgp'. After entering > the passphrase you c

Re: Decrypt, Edit and Encrypt a File

2009-04-07 Thread Samuel Bächler
Thanks a lot to everyone! Just as a short description: I installed easypg. In the console environment I type `emacs keys.pgp'. This starts emacs and prompts for passphrase of `keys.pgp'. After entering the passphrase you can edit your file with the passwords. When you are finished with altering t

Re: Decrypt, Edit and Encrypt a File

2009-04-06 Thread Douglas A. Tutty
On Sun, Apr 05, 2009 at 05:36:08PM +0200, Samuel B?chler wrote: > I store logins and passwords of some dozen of Web-Services in > an encrypted file. I used to use kgpg to read and update this file. > > Some weeks ago I found on debian-security [1] the following script: > > #!/bin/sh > gpg keys.gp

Re: Decrypt, Edit and Encrypt a File

2009-04-06 Thread H.S.
H.S. wrote: > > > As Alex mentioned, tools exist for both vim and emacs. > > I have found this for vim (a vim plugin): > http://ry.ca/blog/2008/10/transparent-editing-of-gpg-encrypted-files-in-vim/ > > and installed easypg package for emacs. I am yet to play with them. Better still, this is t

Re: Decrypt, Edit and Encrypt a File

2009-04-06 Thread Γιώργος Πάλλας
In case you are interested more in a feature-richer password organizer I propose the excellent KeepassX (aptitude install keepassx). smime.p7s Description: S/MIME Cryptographic Signature

Re: Decrypt, Edit and Encrypt a File

2009-04-06 Thread H.S.
Samuel Bächler wrote: > Dear Everyone > > I store logins and passwords of some dozen of Web-Services in > an encrypted file. I used to use kgpg to read and update this file. > > Some weeks ago I found on debian-security [1] the following script: > > #!/bin/sh > gpg keys.gpg > /dev/null > emacs k

Re: Decrypt, Edit and Encrypt a File

2009-04-06 Thread Harry Rickards
Quoting Daniel Burrows : On Sun, Apr 05, 2009 at 05:36:08PM +0200, Samuel Bächler was heard to say: I store logins and passwords of some dozen of Web-Services in an encrypted file. I used to use kgpg to read and update this file. This isn't the answer to your question, but you might want

Re: Decrypt, Edit and Encrypt a File

2009-04-06 Thread Daniel Burrows
On Sun, Apr 05, 2009 at 05:36:08PM +0200, Samuel Bächler was heard to say: > I store logins and passwords of some dozen of Web-Services in > an encrypted file. I used to use kgpg to read and update this file. This isn't the answer to your question, but you might want to look at the pwsafe pack

Re: Decrypt, Edit and Encrypt a File

2009-04-06 Thread H.S.
Hello, Axel Freyn wrote: > > A much safer approach (using vim instead of emacs) is e.g described in > http://www.debian.org/doc/manuals/reference/ch-gnupg.en.html, 14.4.2: > In this way, the clear-text version is never stored on the hard-disk, > but only kept in memory while you are editing the

Re: Decrypt, Edit and Encrypt a File

2009-04-06 Thread Sven Joachim
On 2009-04-06 15:35 +0200, Samuel Bächler wrote: > On Axels input I modified the script: > > #!/bin/sh > gpg keys.gpg > /dev/null > emacs keys > rm keys.gpg > gpg -r "user-ID" -e keys > srm keys # *secure*rm keys > srm keys~# *secure*rm keys~ > > Drawback: During the time one works on the list `ke

Re: Decrypt, Edit and Encrypt a File

2009-04-06 Thread Samuel Bächler
Thanks for the inputs so far. On Axels input I modified the script: #!/bin/sh gpg keys.gpg > /dev/null emacs keys rm keys.gpg gpg -r "user-ID" -e keys srm keys # *secure*rm keys srm keys~# *secure*rm keys~ Drawback: During the time one works on the list `keys' it is readable at `/path/to/keys'.

Re: Decrypt, Edit and Encrypt a File

2009-04-05 Thread Axel Freyn
Hi Sämi, > Some weeks ago I found on debian-security [1] the following script: > > #!/bin/sh > gpg keys.gpg > /dev/null > emacs keys > rm keys.gpg > gpg -r "user-ID" -e keys > rm keys > > What do you guys think is this approach reasonably secure? I like > the script above because it is rather sim

Decrypt, Edit and Encrypt a File

2009-04-05 Thread Samuel Bächler
Dear Everyone I store logins and passwords of some dozen of Web-Services in an encrypted file. I used to use kgpg to read and update this file. Some weeks ago I found on debian-security [1] the following script: #!/bin/sh gpg keys.gpg > /dev/null emacs keys rm keys.gpg gpg -r "user-ID" -e keys

Re: Encrypt a file

2000-10-11 Thread Samuli Suonpaa
Damian Menscher <[EMAIL PROTECTED]> writes: > On Mon, 9 Oct 2000, Samuli Suonpaa wrote: >> Umm... As you state, most applications asymmetric only for the key and >> symmetric for data. How come you still consider symmetric encryption >> to be faster? > I'm afraid I don't understand your question...

Re: Encrypt a file

2000-10-10 Thread Joachim Trinkwitz
Francois Fayard <[EMAIL PROTECTED]> writes: > Does anyone knows a software that encrypts files with a password ? Have a look at seahorse: ~$ apt-cache show seahorse Package: seahorse Version: 0.4.9-1 Priority: optional Section: non-US Maintainer: Christian Marillat <[EMAIL PROTECTED]> Depe

Re: Encrypt a file

2000-10-09 Thread Damian Menscher
On Mon, 9 Oct 2000, Samuli Suonpaa wrote: > Damian Menscher <[EMAIL PROTECTED]> writes: > > On Mon, 9 Oct 2000, Brian May wrote: > >> While there are pros and cons in both methods, I have to wonder > >> what you need to encrypt files for. For most applications, > >> asymmetric encryption is better.

Re: Encrypt a file

2000-10-09 Thread Samuli Suonpaa
Damian Menscher <[EMAIL PROTECTED]> writes: > On Mon, 9 Oct 2000, Brian May wrote: >> While there are pros and cons in both methods, I have to wonder >> what you need to encrypt files for. For most applications, >> asymmetric encryption is better. > No, for most applications, symmetric encryption i

Re: Encrypt a file

2000-10-08 Thread Brian May
> "Samuli" == Samuli Suonpaa <[EMAIL PROTECTED]> writes: Samuli> Brian May <[EMAIL PROTECTED]> writes: >> PGP could encrypt with both methods (not sure if this is still >> the case), however as far as I can tell, GnuPG can only encrypt >> with asymmetric keys (I might be mistak

Re: Encrypt a file

2000-10-08 Thread Damian Menscher
On Mon, 9 Oct 2000, Brian May wrote: > > "Francois" == Francois Fayard <[EMAIL PROTECTED]> writes: > > Francois> Hi, Does anyone knows a software that encrypts files > Francois> with a password ? > > You seem to be asking specifically for symmetric encryption here (you > use the same

Re: Encrypt a file

2000-10-08 Thread Samuli Suonpaa
Brian May <[EMAIL PROTECTED]> writes: > PGP could encrypt with both methods (not sure if this is still the > case), however as far as I can tell, GnuPG can only encrypt with > asymmetric keys (I might be mistaken). [EMAIL PROTECTED]:~$ gpg --help | grep symm -c, --symmetric encry

Re: Encrypt a file

2000-10-08 Thread Brian May
> "Francois" == Francois Fayard <[EMAIL PROTECTED]> writes: Francois> Hi, Does anyone knows a software that encrypts files Francois> with a password ? You seem to be asking specifically for symmetric encryption here (you use the same key to encrypt and decrypt), as opposed to asymmetr

Re: Encrypt a file

2000-10-08 Thread Eric G . Miller
On Sun, Oct 08, 2000 at 10:29:40PM +0200, Francois Fayard wrote: > Hi, > > Does anyone knows a software that encrypts files with a password ? gpg or pgp. -- /bin/sh ~/.signature: Command not found

Encrypt a file

2000-10-08 Thread Francois Fayard
Hi, Does anyone knows a software that encrypts files with a password ? Thanks Francois