Skip to content

Commit

Permalink
Update tooling in the end-to-end tests
Browse files Browse the repository at this point in the history
Signed-off-by: Wiktor Kwapisiewicz <[email protected]>
  • Loading branch information
wiktor-k committed Oct 16, 2024
1 parent f35686c commit 6e0a876
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM rust

RUN apt-get update && apt-get install -y --no-install-recommends \
vsmartcard-vpcd libpcsclite-dev pcscd opensc git libclang-dev nettle-dev \
vsmartcard-vpcd libpcsclite-dev pcscd opensc git libclang-dev libdbus-1-dev nettle-dev \
&& rm -rf /var/lib/apt/lists/*
RUN cargo install --features="vpicc" --git https://github.com/Nitrokey/opcard-rs#v1.3.0 --example vpicc opcard
RUN cargo install openpgp-card-tools rage
Expand Down
2 changes: 1 addition & 1 deletion scripts/encrypt-decrypt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ sleep 2
export PINENTRY_PROGRAM=/app/scripts/fake-pinentry.sh
echo 12345678 > admin-pin
echo 123456 > user-pin
oct admin --card 0000:00000000 --admin-pin admin-pin generate --user-pin user-pin --output /tmp/no-need-for-this cv25519
oct admin --card 0000:00000000 --admin-pin admin-pin generate --user-pin user-pin --output /tmp/no-need-for-this --userid 'No need for that' curve25519

age-plugin-openpgp-card | tee identity.txt
grep -oh "age1.*" identity.txt > recipients.txt
Expand Down

0 comments on commit 6e0a876

Please sign in to comment.