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

HSM 1: KMIP walking skeleton (#566) #679

Merged
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
5571271
Support multiple signers of different types behind a HSM feature flag…
ximon18 Sep 23, 2021
1f2c9ee
Added some developer docs.
ximon18 Sep 23, 2021
0fb9c91
Merge branch 'dev' into issue-539-support-multiple-signers
ximon18 Sep 24, 2021
870a102
- Bump to v0.3.1 of the kmip-protocol crate.
ximon18 Oct 5, 2021
b849f66
Avoid potential race conditions: Check for expected state, and retain…
ximon18 Oct 5, 2021
4e759aa
Merge branch 'dev' into issue-566-implement-krill-kmip-based-signer-i…
ximon18 Oct 5, 2021
431b54d
Merge branch 'dev' into issue-566-implement-krill-kmip-based-signer-i…
ximon18 Oct 5, 2021
9b788ae
Always dump the PyKMIP log so that we can see evidence of Krill using…
ximon18 Oct 5, 2021
5322233
FIX: Signer dispatching must always be routed to the appropriate sign…
ximon18 Oct 5, 2021
5e359b3
Additional architecture docs regarding signing.
ximon18 Oct 5, 2021
369d00a
Remove commented out code.
ximon18 Oct 5, 2021
280ccc4
Remove unnecessary Arc<RwLock<..>> and naming cleanup.
ximon18 Oct 6, 2021
1548efd
Merge branch 'dev' into issue-566-implement-krill-kmip-based-signer-i…
ximon18 Oct 30, 2021
dd705df
Merge branch 'dev' into issue-566-implement-krill-kmip-based-signer-i…
ximon18 Nov 1, 2021
3e6c0cb
Apply crate upgrade and signer 'de-mut' changes that were made in suc…
ximon18 Nov 3, 2021
90de083
Merge branch 'dev' into issue-566-implement-krill-kmip-based-signer-i…
ximon18 Nov 3, 2021
00e93ce
Merge fix.
ximon18 Nov 3, 2021
a1c39f7
Merge branch 'dev' into issue-566-implement-krill-kmip-based-signer-i…
ximon18 Nov 9, 2021
e217717
Wait longer to "fix" brittle test when using a slower signer (PyKMIP …
ximon18 Nov 9, 2021
5ceba33
Merge branch 'dev' into issue-566-implement-krill-kmip-based-signer-i…
ximon18 Nov 10, 2021
7feffe1
Review feedback: KmipSigner doesn't needt o implement the Signer trait.
ximon18 Nov 14, 2021
40bafc3
Review feedback: SignerProvider doesn't need to implement the Signer …
ximon18 Nov 15, 2021
8e9cda8
OpenSslSigner no longer needs to implement the Signer trait.
ximon18 Nov 15, 2021
0782791
Review feedback: Spend more words on why KMIP keys are renamed after …
ximon18 Nov 19, 2021
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
40 changes: 40 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,43 @@ jobs:
name: cypress-ui-test-captures ${{ matrix.os }} ${{ matrix.rust }}
path: target/ui/
if-no-files-found: ignore

hsmtest:
name: hsmtest
runs-on: ubuntu-18.04
steps:
- name: Checkout repository
uses: actions/checkout@v1

- name: Install Rust
uses: hecrj/setup-rust-action@v1
with:
rust-version: stable

- uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Install PyKMIP
uses: BSFishy/pip-action@v1
with:
packages: pykmip

- name: Compile the tests
run: |
cargo build --tests --no-default-features --features hsm,hsm-tests

- name: Run the tests against the PyKMIP server
run: |
cd test-resources/pykmip
python run-server.py &
sleep 5s
openssl s_client -connect 127.0.0.1:5696 || true
cd -
cargo test --no-default-features --features hsm,hsm-tests -- --test-threads=1 2>&1

- name: Dump PyKMIP log
working-directory: test-resources/pykmip
run: |
ls -la
cat server.log
199 changes: 191 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading