PGP Subkey Expiration Extension - error
I'd like to extend the expiration of one of the subkeys. There is no expiration for the main key.
pgp --set-expiration-date --expiration-date 2015-01-20 0x939E72AF --passphrase PASSWORD
- I know that 0x939E72AF is the SUBKEY ID. But I get this message back
0x939E72AF:set expire date (2002:key to edit not found)
I do see the subkey in the fingerprint. I dont want to Change the expiration for the Key. Just this one SUBKEY needs to be extended . Can you please let me know what I am missing here?
Should I provide the command as:
pgp --set-expiration-date --expiration-date 2015-01-20 MAINKEYID --subkey SUBKEYID --passphrase PASSWORD - Is this a valid syntax? I couldnt find any reference to it online.
- I want to confirm before i try this. Just to avoid any mishaps as this is in PROD.