Skip to content

PubKey type should have emails and uids type on it #812

Description

@tomholub
structPubKey{letarmored:String
/// will be provided later
letlastSig:Date?
/// the date when key was retrieved from a public key server, or nil
letlastChecked:Date?
/// expiration date
letexpiresOn:Date?
/// all key longids
letlongids:[String]
/// all key fingerprints
letfingerprints:[String]
/// key created date
letcreated:Date?
/// key algo
letalgo:KeyAlgo?
/// is key revoked
letisRevoked:Bool}

When parsing a key, the pgp user ids are available, and so are pgp user id emails once parsed. These should be included in this type.

Then all usages of armored should be investigated, to see if it's being used solely for parsing out the emails. Such usages should be replaced directly with the newly added property.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions