3071:to many user ids specified
Created: 28 Aug 2012 | 8 comments
I am trying to generate my key using ver.10 of pgp command line.
I tried this :
pgp --gen-key --key-type rsa --encryption-bits 2048 --signing-bits 2048 --passphrase 'Dont go' --expiration-date 2019-06-01
but I get 3071:to many user ids specified
What am i doing wrong ?
Thanks,Peter
Discussion Filed Under:
Comments 8 Comments • Jump to latest comment
According to your usage, I don't actually see *any* UserID given. (Which should actually give you "invalid user ID specified".)
My guess is you mis-typed the UserID. E.g., you did something like
pgp --gen-key Bob bob@localhost --key-type rsa ...
Try putting the entire UserID string in quotes, as in
pgp --gen-key "Bob <bob@localhost>" --key-type rsa ...
Regards,
--------
David Finkelstein
Symantec R&D
Yes, I tried that , but I get the same error.
example: :pgp --gen-key "bob" --key-type rsa xxxx
Any ideas?
Peter
The error means that there are multiple arguments being interpreted as the possible UserID. Can you please post the entire invocation you are using?
--------
David Finkelstein
Symantec R&D
David, This is the full command that I am trying :
pgp --gen-key "bob" --key-type rsa --encryption-bits 2048 --signing-bits 2048 --passphrase 'Dont go' --expiration-date 2014-06-01
I can't reproduce the problem you are seeing. What operating system are you on? Does it help if you put the passphrase in double quotes instead of single quotes ("Dont go" instead of 'Dont go')?
Thanks.
--------
David Finkelstein
Symantec R&D
I am using Windows 7 ultimate.
This is the full command :
pgp --gen-key "bob" --key-type rsa --encryption-bits 2048 --signing-bits 2048 --passphrase 'Dont go' --expiration-date 2014-06-01
If I run --list-keys-xml , I see a empty list.
Any suggestions?
Peter
OK - I got --gen-key to work on a different machine .
Thanks, PEter
For me, restarting the server was necessary. No error after restart.
Would you like to reply?
Login or Register to post your comment.