-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Description
struct PubKey {
let armored: String
/// will be provided later
let lastSig: Date?
/// the date when key was retrieved from a public key server, or nil
let lastChecked: Date?
/// expiration date
let expiresOn: Date?
/// all key longids
let longids: [String]
/// all key fingerprints
let fingerprints: [String]
/// key created date
let created: Date?
/// key algo
let algo: KeyAlgo?
/// is key revoked
let isRevoked: 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.
Reactions are currently unavailable