Thanks David! - Jack
> -----Original Message----- > From: David Shaw [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 10, 2008 3:45 PM > To: Jack Kaye > Cc: [email protected] > Subject: Re: Basic file signing question > > On Sep 10, 2008, at 4:15 PM, Jack Kaye wrote: > > > Greetings all, > > > > I have what is probably a very basic question but for some reason I > > can't seem > > to find the answer anywhere online and was hoping one of you GnuPG > > boffins could > > assist here. > > > > I am trying to digitally sign a file as I encrypt it. > > > > The encryption part is easy: > > > > gpg -r <their key> -e <file> > > > > Signing it is also easy: > > > > gpg -r <their key> -se <file> > > > > But when I sign it this way, it just seems to take the > first key in my > > keyring. > > I have generated different public keys to send to different > people and > > would like > > to sign the encrypted file with a key of my choice. Is that > > possible or > > am I just > > not understanding the process of creating a digital signature? > > gpg -u <your key you want to sign with> -r <their key> -se <file> > > It's the -u flag. > > David > _______________________________________________ Gnupg-users mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnupg-users
