Endpoint Encryption

 View Only
  • 1.  3071:to many user ids specified

    Posted Aug 28, 2012 07:40 PM

    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

     



  • 2.  RE: 3071:to many user ids specified

    Posted Aug 28, 2012 07:58 PM

    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,

     



  • 3.  RE: 3071:to many user ids specified

    Posted Aug 28, 2012 09:39 PM

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

     

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

     

    Any ideas?

    Peter



  • 4.  RE: 3071:to many user ids specified

    Posted Aug 29, 2012 12:50 AM

    The error means that there are multiple arguments being interpreted as the possible UserID.  Can you please post the entire invocation you are using?



  • 5.  RE: 3071:to many user ids specified

    Posted Aug 29, 2012 07:27 AM

    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

     



  • 6.  RE: 3071:to many user ids specified

    Posted Aug 29, 2012 11:09 AM

    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.



  • 7.  RE: 3071:to many user ids specified

    Posted Sep 04, 2012 01:07 PM

    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



  • 8.  RE: 3071:to many user ids specified

    Posted Sep 04, 2012 02:05 PM

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

    Thanks, PEter



  • 9.  RE: 3071:to many user ids specified

    Posted Sep 19, 2012 09:33 PM

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