This is confusing.

If I do:

> $ gpg --output sec_key.pgp --export-secret-keys <key_id>
> $ gpg --list-packets sec_key.pgp

My :secret sub key packet: looks more like the latter, which Angel says
indicates my key is _not_ protected by a passphrase.

However, if I do:

> $ gpg --passwd <key_id>

It asks me to enter the key's passphrase to "unlock it". Now, why does
it ask me to enter the passphrase if there is no passphrase for the
given key?

Ultimately, which one of the two is right; is my key stored in plane on
the disk because it does not have the `iter+salt` part in `gpg
--list-packets`, or is it stored encrypted using my passphrase that `gpg
--passwd` asks for?

I would be surprised if both can be true at the same time.

-- 
    Novak

Attachment: 0xB8D4C9837C741FBD.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to