#8 fixed
Luke Le

Support for gpg key groups

Reported by Luke Le | November 15th, 2011 @ 04:22 PM

GPG supports to encrypt/sign to a list of different keys using a group name.
This way the user doesn't have to type in every single key, but only addresses
the group as recipient.

It's used for example for a mailinglist where the group name would be the address
of the mailing list and the keys of each participant would be listed as a key of the group.

The interface should return a dictionary mapping the group name to a list of keys.

Comments and changes to this ticket

  • Mento

    Mento December 8th, 2011 @ 04:36 PM

    • State changed from “open” to “fixed”

    To get the dictionary simple use:

    [[GPGOptions sharedOptions] valueForKey:@"group"]
    

    To encrypt for a group you can use:

    NSArray *keys = [[[GPGOptions sharedOptions] valueForKey:@"group"] valueForKey:@"nameOfTheGroup"];
    NSData *data = [[GPGController gpgController] processData:data withEncryptSignMode:GPGPublicKeyEncrypt recipients:keys hiddenRecipients:nil];
    

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

Pages