Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempting to link LibFido2Swift to xcodes #387

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@
"version" : "1.0.6"
}
},
{
"identity" : "libfido2swift",
"kind" : "remoteSourceControl",
"location" : "https://github.com/kinoroy/LibFido2Swift.git",
"state" : {
"revision" : "b77e5c6451bea69d15615d6578936b11777d9a6c",
"version" : "0.1.2"
}
},
{
"identity" : "path.swift",
"kind" : "remoteSourceControl",
Expand Down
6 changes: 4 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// swift-tools-version:5.6
// swift-tools-version:5.9
import PackageDescription

let package = Package(
name: "xcodes",
platforms: [
.macOS(.v10_15)
.macOS(.v13)
],
products: [
.executable(name: "xcodes", targets: ["xcodes"]),
Expand All @@ -23,6 +23,7 @@ let package = Package(
.package(url: "https://github.com/xcodereleases/data", revision: "fcf527b187817f67c05223676341f3ab69d4214d"),
.package(url: "https://github.com/onevcat/Rainbow.git", .upToNextMinor(from: "3.2.0")),
.package(url: "https://github.com/jpsim/Yams", .upToNextMinor(from: "5.0.1")),
.package(url: "https://github.com/kinoroy/LibFido2Swift.git", .upToNextMinor(from: "0.1.0")),
],
targets: [
.executableTarget(
Expand Down Expand Up @@ -68,6 +69,7 @@ let package = Package(
"PromiseKit",
.product(name: "PMKFoundation", package: "Foundation"),
"Rainbow",
.product(name: "LibFido2Swift", package: "LibFido2Swift")
]),
.testTarget(
name: "AppleAPITests",
Expand Down
1 change: 1 addition & 0 deletions Sources/AppleAPI/Client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import Foundation
import PromiseKit
import PMKFoundation
import Rainbow
import LibFido2Swift
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be used later for Hardware challenge


public class Client {
private static let authTypes = ["sa", "hsa", "non-sa", "hsa2"]
Expand Down