Keep global constants for armor keys and clean them up during migration and user initiated key removal
This commit is contained in:
parent
7bee780b46
commit
5f19c348c8
2 changed files with 8 additions and 0 deletions
|
|
@ -16,6 +16,10 @@ public extension DefaultsKeys {
|
|||
static let pgpPublicKeyURL = DefaultsKey<URL?>("pgpPublicKeyURL")
|
||||
static let pgpPrivateKeyURL = DefaultsKey<URL?>("pgpPrivateKeyURL")
|
||||
|
||||
// Keep them for legacy reasons.
|
||||
static let pgpPublicKeyArmor = DefaultsKey<String?>("pgpPublicKeyArmor")
|
||||
static let pgpPrivateKeyArmor = DefaultsKey<String?>("pgpPrivateKeyArmor")
|
||||
|
||||
static let gitURL = DefaultsKey<URL?>("gitURL")
|
||||
static let gitAuthenticationMethod = DefaultsKey<String?>("gitAuthenticationMethod")
|
||||
static let gitUsername = DefaultsKey<String?>("gitUsername")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue