Skip to content

Commit

Permalink
feat(ios): get keypair by id (#9)
Browse files Browse the repository at this point in the history
Signed-off-by: Berend Sliedrecht <[email protected]>
  • Loading branch information
berendsliedrecht committed Feb 23, 2024
1 parent fc5f754 commit f43fb09
Show file tree
Hide file tree
Showing 7 changed files with 980 additions and 58 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
include:
- target: aarch64-linux-android
runner: ubuntu-latest
- target: aarch64-apple-darwin
- target: aarch64-apple-ios
runner: macos-latest

runs-on: ${{ matrix.runner }}
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
include:
- target: aarch64-linux-android
runner: macos-latest
- target: aarch64-apple-darwin
- target: aarch64-apple-ios
runner: macos-latest

runs-on: ${{ matrix.runner }}
Expand Down
7 changes: 2 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ maintenance = { status = "actively-developed" }
crate-type = ["cdylib", "rlib"]
name = "secure_env"

[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
[target.'cfg(target_os = "ios")'.dependencies]
security-framework = { version = "2.9.2" }
p256 = { version = "0.13.2", features = ["ecdsa-core"] }
security-framework = { version = "2.9.2", features = ["OSX_10_12"] }

[target.'cfg(target_os = "android")'.dependencies]
android-activity = { version = "0.5.0", features = ["native-activity"] }
Expand All @@ -28,6 +28,3 @@ ndk-context = "0.1.1"

[dependencies]
thiserror = "1.0.50"

[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dev-dependencies]
askar-crypto = "0.3.0"
Loading

0 comments on commit f43fb09

Please sign in to comment.