mirror of
https://github.com/maxgoedjen/secretive.git
synced 2026-01-07 17:02:00 +01:00
Merge branch 'testmergepk' into fix-mpint
This commit is contained in:
commit
78551038df
@ -38,7 +38,7 @@ let package = Package(
|
|||||||
),
|
),
|
||||||
.testTarget(
|
.testTarget(
|
||||||
name: "SecretKitTests",
|
name: "SecretKitTests",
|
||||||
dependencies: ["SecretKit", "SecretAgentKit", "SecureEnclaveSecretKit", "SmartCardSecretKit"],
|
dependencies: ["SecretKit", "SecureEnclaveSecretKit", "SmartCardSecretKit"],
|
||||||
path: "Sources/Packages/Tests/SecretKitTests",
|
path: "Sources/Packages/Tests/SecretKitTests",
|
||||||
swiftSettings: swiftSettings
|
swiftSettings: swiftSettings
|
||||||
),
|
),
|
||||||
|
|||||||
@ -1,8 +1,7 @@
|
|||||||
import Foundation
|
import Foundation
|
||||||
import Testing
|
import Testing
|
||||||
|
import SSHProtocolKit
|
||||||
@testable import SecretKit
|
@testable import SecretKit
|
||||||
@testable import SecretAgentKit
|
|
||||||
@testable import SmartCardSecretKit
|
|
||||||
|
|
||||||
@Suite struct OpenSSHSignatureWriterTests {
|
@Suite struct OpenSSHSignatureWriterTests {
|
||||||
|
|
||||||
@ -46,7 +45,7 @@ import Testing
|
|||||||
private extension OpenSSHSignatureWriterTests {
|
private extension OpenSSHSignatureWriterTests {
|
||||||
|
|
||||||
enum Constants {
|
enum Constants {
|
||||||
static let ecdsa256Secret = SmartCard.Secret(
|
static let ecdsa256Secret = TestSecret(
|
||||||
id: Data(),
|
id: Data(),
|
||||||
name: "Test Key (ECDSA 256)",
|
name: "Test Key (ECDSA 256)",
|
||||||
publicKey: Data(repeating: 0x01, count: 65),
|
publicKey: Data(repeating: 0x01, count: 65),
|
||||||
Loading…
Reference in New Issue
Block a user