Basic file signing question
Faramir
faramir.cl at gmail.com
Wed Sep 10 22:54:16 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Jack Kaye escribió:
> 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?
I think you need to explicitly tell gpg which key you want to use. I
don't know how to do that, since I let GPGshell (a GUI for gpg, for
windows environment) to handle that... but if gpgshell can do it, you
can do it too.
Maybe you need something like:
gpg -u <your key> -r <their key> -se <file> but since I never use gpg
without a GUI, I am NOT confident the syntax is right...
Best Regards
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQEcBAEBCAAGBQJIyDP4AAoJEMV4f6PvczxAmXoH/0b+S6BOgvTVkHI/pmPfap0Y
FT/z5FwdSpw8dZDdKKtrwRAnecFdQ4Vf6dncdP0tcLs30EVT6q2itlYaRKkEOixx
DJhrfC7PC8gzOxtGyVtoCh44eqTMHuo2fQfDJVzCaTz8Uc9Pb7WELWWioRVDFHWt
4ewGFvPxbfBRWfS7hKD7SYg93/8GUQFykkcjVkjbiZYg8gvidhZgqxSoY9LNLXyO
LHi/zjrWI88y0XPPPWIJ8n0uNHTpfkBVX+T/QOxCuKHiTl8x8+991VW/MQw9KFkX
ndZXbsuhE8IIFQVVxx4gBllv90FcoKXMnoeJO29tB/2nSYmy4jV/xmzTvbPO4ho=
=CDkp
-----END PGP SIGNATURE-----
More information about the Gnupg-users
mailing list