From f652d1d96191019667c151a0019a7f8cc74326cd Mon Sep 17 00:00:00 2001 From: Max Goedjen Date: Sun, 31 Aug 2025 13:50:16 -0700 Subject: [PATCH] Return name as identities comment. (#647) --- Sources/Packages/Sources/SecretAgentKit/Agent.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Sources/Packages/Sources/SecretAgentKit/Agent.swift b/Sources/Packages/Sources/SecretAgentKit/Agent.swift index cd5bfa1..d00d963 100644 --- a/Sources/Packages/Sources/SecretAgentKit/Agent.swift +++ b/Sources/Packages/Sources/SecretAgentKit/Agent.swift @@ -89,9 +89,8 @@ extension Agent { for secret in secrets { let keyBlob = publicKeyWriter.data(secret: secret) - let curveData = publicKeyWriter.openSSHIdentifier(for: secret.keyType) keyData.append(keyBlob.lengthAndData) - keyData.append(curveData.lengthAndData) + keyData.append(secret.name.lengthAndData) count += 1 if let (certificateData, name) = try? await certificateHandler.keyBlobAndName(for: secret) {