mirror of
https://github.com/maxgoedjen/secretive.git
synced 2025-04-04 06:37:07 +00:00
Update Sources/Packages/Sources/SecretAgentKit/Agent.swift
This commit is contained in:
parent
2dcd0e9820
commit
db5ea31f5f
@ -90,8 +90,8 @@ extension Agent {
|
||||
var keyData = Data()
|
||||
|
||||
for secret in secrets {
|
||||
let keyBlob: Data = writer.data(secret: secret)
|
||||
let curveData: Data = writer.curveType(for: secret.algorithm, length: secret.keySize).data(using: .utf8)!
|
||||
let keyBlob = writer.data(secret: secret)
|
||||
let curveData = writer.curveType(for: secret.algorithm, length: secret.keySize).data(using: .utf8)!
|
||||
keyData.append(writer.lengthAndData(of: keyBlob))
|
||||
keyData.append(writer.lengthAndData(of: curveData))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user