ビデオヘルプ

3071:to many user ids specified

作成: 28 Aug 2012 | コメント数: 8

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

タグでディスカッションを検索:

コメント コメント数: 8最新のコメントを表示

dfinkelstein の写真

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 の写真

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

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

Any ideas?

Peter

dfinkelstein の写真

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 の写真

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 の写真

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 の写真

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 の写真

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

Thanks, PEter

Jumasolo の写真

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