Video Screencast Help
Search Video Help Close Back
to help

3071:to many user ids specified

Created: 28 Aug 2012 | 8 comments
petercli's picture
0 0 Votes
Login to vote

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 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

0
Login to vote
  • Actions
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

0
Login to vote
  • Actions
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

0
Login to vote
  • Actions
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

 

0
Login to vote
  • Actions
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

0
Login to vote
  • Actions
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

0
Login to vote
  • Actions
petercli's picture

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

Thanks, PEter

0
Login to vote
  • Actions
Jumasolo's picture

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

0
Login to vote
  • Actions