Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

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

 

Comments 8 CommentsJump to latest comment

dfinkelstein's picture

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

petercli's picture

Yes, I tried that , but I get the same error.

 

example: :pgp --gen-key "bob"  --key-type rsa xxxx

 

Any ideas?

Peter

dfinkelstein's picture

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

petercli's picture

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

 

dfinkelstein's picture

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

petercli's picture

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

petercli's picture

OK - I got --gen-key to work on a different machine .

Thanks, PEter

Jumasolo's picture

For me, restarting the server was necessary. No error after restart.