Move app name + iconurl to tracer. (#149)

This commit is contained in:
Max Goedjen
2020-09-27 23:09:23 -07:00
committed by GitHub
parent 3328ada3bf
commit dc5c21c568
6 changed files with 37 additions and 26 deletions

View File

@@ -47,7 +47,7 @@ extension SmartCard {
public func sign(data: Data, with secret: SecretType, for provenance: SigningRequestProvenance) throws -> Data {
guard let tokenID = tokenID else { fatalError() }
let context = LAContext()
context.localizedReason = "sign a request from \"\(provenance.origin.name)\" using secret \"\(secret.name)\""
context.localizedReason = "sign a request from \"\(provenance.origin.displayName)\" using secret \"\(secret.name)\""
context.localizedCancelTitle = "Deny"
let attributes = [
kSecClass: kSecClassKey,