mirror of
https://github.com/polhenarejos/pico-openpgp.git
synced 2026-08-30 00:22:45 +01:00
Add vault for OpenPGP and PIV
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -39,5 +39,15 @@ jobs:
|
||||
persist-credentials: false
|
||||
- name: Build in container
|
||||
run: ./tests/build-in-docker.sh
|
||||
- name: Validate Vault test secrets
|
||||
env:
|
||||
PICO_OPENPGP_VAULT_ENROLLMENT_JSON: ${{ secrets.PICO_OPENPGP_VAULT_ENROLLMENT_JSON }}
|
||||
PICO_OPENPGP_VAULT_PASSPHRASE: ${{ secrets.PICO_OPENPGP_VAULT_PASSPHRASE }}
|
||||
run: |
|
||||
test -n "$PICO_OPENPGP_VAULT_ENROLLMENT_JSON" || { echo "PICO_OPENPGP_VAULT_ENROLLMENT_JSON is required." >&2; exit 1; }
|
||||
test -n "$PICO_OPENPGP_VAULT_PASSPHRASE" || { echo "PICO_OPENPGP_VAULT_PASSPHRASE is required." >&2; exit 1; }
|
||||
- name: Start emulation and test
|
||||
env:
|
||||
PICO_OPENPGP_VAULT_ENROLLMENT_JSON: ${{ secrets.PICO_OPENPGP_VAULT_ENROLLMENT_JSON }}
|
||||
PICO_OPENPGP_VAULT_PASSPHRASE: ${{ secrets.PICO_OPENPGP_VAULT_PASSPHRASE }}
|
||||
run: ./tests/run-test-in-docker.sh
|
||||
|
||||
Reference in New Issue
Block a user