mirror of
https://github.com/matter-labs/teepot.git
synced 2025-07-21 15:13:56 +02:00
feat: initial commit
Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
parent
aff4dd30bd
commit
89ffbd35a8
123 changed files with 16508 additions and 0 deletions
11
assets/extract-sig.sh
Normal file
11
assets/extract-sig.sh
Normal file
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
# This script is used to extract the signature of a gramine docker image.
|
||||
#
|
||||
# Usage: ./extract-sig.sh <image-name> <tee-name> <output-file>
|
||||
# Example: ./extract-sig.sh tva tee-vault-admin
|
||||
|
||||
id=$(docker create $1)
|
||||
trap 'docker rm -v $id' EXIT
|
||||
docker cp "$id:/app/$2.sig" "$3"
|
Loading…
Add table
Add a link
Reference in a new issue