diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-10-02 21:03:25 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-10-02 21:03:25 -0400 |
commit | 0d759ee9113b371a678c4acafffafa79570e9511 (patch) | |
tree | 5f2b074ea2c81208802c1db1efef29c0a1c438b1 /b4-send-email.sh | |
parent | ca6d35e7728c17b505e6be62ec3b6687aa5bf26b (diff) | |
download | b4-0d759ee9113b371a678c4acafffafa79570e9511.tar.gz |
Reimplement attestation for in-header hashes
Rewrite attestation to implement in-header hashing and signing. For now,
just implementing mode=pgp, but other modes are coming next.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Diffstat (limited to 'b4-send-email.sh')
-rwxr-xr-x | b4-send-email.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/b4-send-email.sh b/b4-send-email.sh new file mode 100755 index 0000000..9dd4640 --- /dev/null +++ b/b4-send-email.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +# +# Wrapper for running b4-send-email from checkout +# + +REAL_SCRIPT=$(realpath -e ${BASH_SOURCE[0]}) +SCRIPT_TOP="${SCRIPT_TOP:-$(dirname ${REAL_SCRIPT})}" + +exec env PYTHONPATH="${SCRIPT_TOP}" python3 "${SCRIPT_TOP}/b4/attest.py" "${@}" |