Re: manipulating the set of keys that can decrypt a file/message

2010-03-05 Thread David Shaw
On Mar 5, 2010, at 9:51 AM, Nicolas Boullis wrote: > On Thu, Mar 04, 2010 at 06:13:17PM -0500, David Shaw wrote: >> On Mar 4, 2010, at 4:34 PM, Nicolas Boullis wrote: >> >>> Reading RFC 4880 (OpenPGP standard), if I am able to decrypt the session >>> key, it should be possible to create a new Pu

Re: manipulating the set of keys that can decrypt a file/message

2010-03-05 Thread Robert J. Hansen
On 3/5/10 9:51 AM, Nicolas Boullis wrote: > I will now have a look at how things are organised in GnuPG code. > Would you suggest that I look at the GnuPG 1 or GnuPG 2 code? If memory serves, the codebases are identical with respect to this. Shouldn't matter which one you use. > And if I succeed

Re: manipulating the set of keys that can decrypt a file/message

2010-03-05 Thread Nicolas Boullis
On Thu, Mar 04, 2010 at 06:13:17PM -0500, David Shaw wrote: > On Mar 4, 2010, at 4:34 PM, Nicolas Boullis wrote: > > > Reading RFC 4880 (OpenPGP standard), if I am able to decrypt the session > > key, it should be possible to create a new Public-Key Encrypted Session > > Key packet to allow a ne

Re: manipulating the set of keys that can decrypt a file/message

2010-03-04 Thread David Shaw
On Mar 4, 2010, at 4:34 PM, Nicolas Boullis wrote: > Hi, > > Some time ago, I decided to revoke my old ElGamal encryption key and > replace it with a new RSA one, that I keep stored on a smartcard. (The > goal is to be ale to decrypt some messages/files with my laptop, but not > have my keys c

manipulating the set of keys that can decrypt a file/message

2010-03-04 Thread Nicolas Boullis
Hi, Some time ago, I decided to revoke my old ElGamal encryption key and replace it with a new RSA one, that I keep stored on a smartcard. (The goal is to be ale to decrypt some messages/files with my laptop, but not have my keys compromised if it gets lost/stolen.) The trouble is that I have