Dear Sir/Madam,
I run below command but don't understand why it displayed an error "invalid date" even I typed the correct date format. Please advise how to fix the error.
pgp --set-expiration-date MYKEY --expiration-date 2018-06-01 --passphrase TESTING
Thanks & Regards,
Florence
Use the following commands to update the expiration date of your PGP key. Set the expiration date pgp --set-expiration-date --expiration-date <user> --passphrase <pass> Example: pgp --set-expiration-date --expiration-date 2020-01-01 "Test User " --passphrase password
HOW TO: Update an expiration date for a key - PGP Command Line
http://www.symantec.com/docs/HOWTO42027
Here is the error message.
pgp:set expire date (3082:invalid date)
Thanks for your reply.
My command is exactly same as your command but it still displayed the error "invalid date" as below.
pgp --set-expiration-date --expiration-date 2018-06-01 MYKEY --passphrase TESTING
hi,
MYKEY is your user name ?
Please try this.
pgp --set-expiration-date --expiration-date 2018-06-01 "MYKEY " --passphrase Testing
yes, MYKEY is the key name.
I have tried below command but still has the same error.
I can't reproduce this issue:
$ pgp --set-expiration-date --expiration-date 2018-06-01 exptest --passphrase 1234 0x13939370:set expire date (0:expiration date successfully updated)