#433 ✓verified
steve

uploading public key when sec/pub key is selected is not working

Reported by steve | October 31st, 2017 @ 04:36 PM | in 1.4.1 (closed)

Reproduce

  • select any sec/pub key (create a random test key if you do not want to share your public key of course)
  • right click "upload public key to key server) or use menubar > key > upload public key or ⌘K

Currently

Nothing. No confirmation or error message and the public key is never uploaded. That faulty behavior is independent of the key server being used.

Expected

Success (or errror) dialog. The public key should be uploaded.

Workaround

Change the expiry date and upload key then via the upload dialog.

UPDATE: sendKeysToServer: is no longer able to handle the upload of the public part of secret keys.

ActionController.m - Line 1520 - 1523

NSArray *publicKeys = [keys filteredArrayUsingPredicate:[NSPredicate predicateWithBlock:^BOOL(GPGKey *key, NSDictionary *bindings) {
            return !key.secret;
        }]];
This code always returns an empty array if the input is a secret key.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket