EQTY LabDocs

Sign with the EQTY SDK

Sign statements from inside a CRT workload with the runtime's notary key, using the EQTY SDK.

View as Markdown

A workload can sign its own statements with the runtime’s notary key instead of a software key, so they are bound to the attested runtime. In code that uses the EQTY SDK, replace the Signer.new call:

python
signer = Signer.new(SIGNER_ALGORITHMS.ED25519)

with Signer.vcomp_notary():

python
signer = Signer.vcomp_notary("http://docker.eqtylab.internal:8066")

Use this URL exactly as shown. The runtime adds docker.eqtylab.internal to every container, and it always points at the notary.