Sign inSign up

iofinnet/virtual-signer-eif-builder

By iofinnet

•Updated 4 days ago

Builds and signs a Nitro enclave image of virtual-signer-core in your own AWS account.

Image
0

81

iofinnet/virtual-signer-eif-builder repository overview

⁠iofinnet/virtual-signer-eif-builder

Builds and signs an AWS Nitro Enclave image file (EIF) of iofinnet/virtual-signer-core⁠ with your own KMS keys, in your own AWS account.

You normally don't run this image yourself. The io.finnet Virtual Signer CloudFormation template runs it as an AWS CodeBuild environment image during deploy and upgrade.

  • Each EIF is built per deployment: the ARN of your data-key KMS key is baked into the enclave measurement.
  • The signing key never leaves KMS; every signature is a kms:Sign call.
  • Needs no io.finnet credentials or secrets.
  • linux/amd64 only. Runs in privileged mode (CodeBuild or docker run --privileged).

Contents: Amazon Linux 2023, nitro-cli 1.5.0, aws-kms-pkcs11, dockerd, AWS CLI v2 and the eif-builder command (eif-builder cert, eif-builder build).

Always use it pinned by digest. Each release's notes list the digest.

⁠Verify

Signed with cosign⁠ (ECDSA P-256), using the same key as virtual-signer-core and virtual-signer-broker. Save this public key as cosign.pub:

-----BEGIN PUBLIC KEY-----
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAELJ4bfsXvK2hRikDKxDUxTdFDSfaK
yLsyLqnwkd592FeloHhfwMFijar3ycFkd3a5IeGwuKQSGjkbcg0fBcf5kg==
-----END PUBLIC KEY-----

then verify by digest:

cosign verify --key cosign.pub docker.io/iofinnet/virtual-signer-eif-builder@sha256:<digest>

Tag summary

Content type

Image

Digest

sha256:8fdd4a365…

Size

254.8 MB

Last updated

4 days ago

docker pull iofinnet/virtual-signer-eif-builder