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

rsa: adds support for wrapped keys import #511

Merged
merged 1 commit into from
Dec 3, 2023

Conversation

baloo
Copy link
Contributor

@baloo baloo commented Dec 1, 2023

Tested against usb:

[Running 'cargo test --features=usb -- rsa_put_asymmetric_key rsa_import_wrapped_key ']
    Finished test [unoptimized + debuginfo] target(s) in 0.06s
     Running unittests src/lib.rs (target/debug/deps/yubihsm-4850c1023b7d5ad1)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 3 filtered out; finished in 0.00s

     Running tests/integration.rs (target/debug/deps/integration-48a5645c384d000f)

running 2 tests
test rsa::rsa_put_asymmetric_key ... ok
test rsa::rsa_import_wrapped_key ... ok

Tested against mockhsm:

[Running 'cargo test --features=mockhsm -- rsa_put_asymmetric_key rsa_import_wrapped_key ']
   Compiling yubihsm v0.42.1 (/home/arthur_gautier/work/dev/yubihsm.rs)
    Finished test [unoptimized + debuginfo] target(s) in 2.50s
     Running unittests src/lib.rs (target/debug/deps/yubihsm-c20193cb8bb7a719)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s

     Running tests/integration.rs (target/debug/deps/integration-4aeb8a728680eb01)

running 2 tests
test rsa::rsa_put_asymmetric_key ... ok
test rsa::rsa_import_wrapped_key ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 29 filtered out; finished in 0.24s

     Running tests/setup.rs (target/debug/deps/setup-65bcd3bb79ff7062)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s

   Doc-tests yubihsm

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s

[Finished running. Exit status: 0]

@baloo baloo changed the title rsa: adds import wrapped keys support rsa: adds support for wrapped keys import Dec 1, 2023
@baloo baloo force-pushed the baloo/rsa/wrap-keys branch from 5feceeb to 3b7c3b6 Compare December 2, 2023 22:32
@baloo baloo marked this pull request as ready for review December 2, 2023 22:32
@tony-iqlusion tony-iqlusion merged commit 9aedc98 into iqlusioninc:main Dec 3, 2023
10 checks passed
@baloo baloo deleted the baloo/rsa/wrap-keys branch December 12, 2023 05:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants