From 3adb0aa2708a24d087829cdef5a5386818ee9ac4 Mon Sep 17 00:00:00 2001 From: Joannis Orlandos Date: Mon, 11 Sep 2023 18:31:39 +0200 Subject: [PATCH] Use Crypto instead of CryptoKit --- .../Keys And Signatures/CryptoKit+PrivateKeyProtocols.swift | 2 +- .../Keys And Signatures/CryptoKit+PublicKeyProtocols.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/NIOSSH/Keys And Signatures/CryptoKit+PrivateKeyProtocols.swift b/Sources/NIOSSH/Keys And Signatures/CryptoKit+PrivateKeyProtocols.swift index b02b99e..be3ca62 100644 --- a/Sources/NIOSSH/Keys And Signatures/CryptoKit+PrivateKeyProtocols.swift +++ b/Sources/NIOSSH/Keys And Signatures/CryptoKit+PrivateKeyProtocols.swift @@ -14,7 +14,7 @@ import Foundation import NIOCore -import CryptoKit +import Crypto struct Curve25519Signature: NIOSSHSignatureProtocol { static let signaturePrefix = "ssh-ed25519" diff --git a/Sources/NIOSSH/Keys And Signatures/CryptoKit+PublicKeyProtocols.swift b/Sources/NIOSSH/Keys And Signatures/CryptoKit+PublicKeyProtocols.swift index 59e2a52..4e3245a 100644 --- a/Sources/NIOSSH/Keys And Signatures/CryptoKit+PublicKeyProtocols.swift +++ b/Sources/NIOSSH/Keys And Signatures/CryptoKit+PublicKeyProtocols.swift @@ -14,7 +14,7 @@ import Foundation import NIOCore -import CryptoKit +import Crypto extension Curve25519.Signing.PublicKey: NIOSSHPublicKeyProtocol { internal static var prefix: String { "ssh-ed25519" }