Hello, the man page says:
"gpg2 may be run with no commands, in which case it will perform a reasonable action depending on the type of file it is given as input (an encrypted message is decrypted, a signature is verified, a file containing keys is listed)." Indeed: start cmd:> gpg secondsecring.gpg sec 1024R/0x297AB799 2010-06-02 Smartcard Test <smartcardt...@hauke- laging.de> ssb 1024R/0xF64B4F0F 2010-06-02 ssb 1024R/0xF17AAD5B 2010-06-02 ssb 1024R/0xD62B6574 2010-06-02 But which command is used here? I don't find a suitable one. start cmd:> gpg --list-keys secondsecring.gpg gpg: error reading key: Kein öffentlicher Schlüssel I hope there is a "tell me what this is" command that does nothing else (so that it can be safely used). If it is a keyring, list the content (like now without a command), if it is an encrypted file it would be nice to know that (and the recipients' key IDs) WITHOUT gpg automatically trying to decrypt it (assuming a cached passphrase). If it is a signature tell me the ID of the signing key (and the hash of the file?) without validating the signature (maybe the signed file is unavailable). CU Hauke -- PGP: D44C 6A5B 71B0 427C CED3 025C BD7D 6D27 ECCB 5814
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users