bugDistributed Privacy Guard - Bugs: bug #57111, Generating a key with multiple...

 
 

bug #57111: Generating a key with multiple userids silently ignores all but first userid

Submitted by:  Justus Winter <teythoon>
Submitted on:  Thu 24 Oct 2019 10:29:19 AM UTC  
 
Category:  Source Code Severity:  2 - Minor
Item Group:  Feature Request Status:  Fixed
Privacy:  Public Assigned to:  Heiko Stamer <stamer>
Open/Closed:  Closed

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 25 Oct 2019 06:33:09 PM UTC, comment #3: 

Fixed!

Justus Winter <teythoon>
Fri 25 Oct 2019 05:51:21 PM UTC, comment #2: 

The commit d7932fbe938a2189ede1252dd8ed70950fa5d8ea should fix this bug.

@teythoon Please, can you confirm that it is solved?

Heiko Stamer <stamer>
Project AdministratorIn charge of this item.
Thu 24 Oct 2019 07:58:30 PM UTC, comment #1: 

At the moment dkg-generate does not support multiple userids (each distributed sign operation is very costly) and thus all latter occurrences of option "-u" are ignored. The documentation (manpage) should be improved. However, I think (at least for option "-y") it's a good feature that is worth to be implemented tomorrow.

Heiko Stamer <stamer>
Project AdministratorIn charge of this item.
Thu 24 Oct 2019 10:29:19 AM UTC, original submission:  

Generating a key with multiple userids silently ignores all but first userid:

% dkg-generate -N -y -u foo@example.org -u bar@example.org localhost
WARNING: private key protection disabled due to option --no-passphrase
We need a lot of entropy to cache very strong randomness for key generation.
Please use other programs, move the mouse, and type on your keyboard:
Thank you!
% sq inspect localhost-pub.asc
localhost-pub.asc: Transferable Public Key.

    Fingerprint: 2928 0D86 A816 6612 4A2F  4CFB A453 1F3C D023 AC16
Public-key algo: DSA (Digital Signature Algorithm)
Public-key size: 3072 bits
  Creation time: 2019-10-24T10:26
       Keyflags: certification, signing

         Subkey: 7A73 5920 D66A A6EC 3A9D  94A7 D331 B410 CBBE 554E
Public-key algo: Elgamal (Encrypt-Only)
Public-key size: 3072 bits
  Creation time: 2019-10-24T10:26
       Keyflags: transport encryption, data-at-rest encryption

         UserID: foo@example.org

Expected Behavior: Preferably generate a key with two userids, failing that, signal an error that giving multiple -u arguments is not supported.

Justus Winter <teythoon>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by teythoon (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-10-25 stamer StatusReady For Test => Fixed
        Open/ClosedOpen => Closed
    2019-10-25 stamer StatusIn Progress => Ready For Test
    2019-10-25 stamer StatusConfirmed => In Progress
    2019-10-24 stamer CategoryNone => Source Code
        Severity3 - Normal => 2 - Minor
        Item GroupNone => Feature Request
        StatusNone => Confirmed
        Assigned toNone => stamer

    Back to the top


    Powered by Savane 3.5