Video Screencast Help

PGP Error: 3082 Invalid Date

Created: 17 Aug 2013 | 6 comments

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

Comments 6 CommentsJump to latest comment

Firenze's picture

Dear Sir/Madam,

 

Here is the error message.

pgp:set expire date (3082:invalid date)

 

James007's picture

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

Firenze's picture

 

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

pgp:set expire date (3082:invalid date)

 

James007's picture

hi,

MYKEY is your user name ?

Please try this.

pgp --set-expiration-date --expiration-date 2018-06-01 "MYKEY " --passphrase Testing

Firenze's picture

yes, MYKEY is the key name.

I have tried below command but still has the same error.

pgp --set-expiration-date --expiration-date 2018-06-01 "MYKEY " --passphrase Testing

pgp:set expire date (3082:invalid date)

 

dfinkelstein's picture

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)
 
 
and running "pgp --list-key-details exptest" shows the expected expiration date.  What version are you running, and on what platform?
 
Thanks.
 

--------

David Finkelstein

Symantec R&D