This is a simple enclave that can be used to generate and sign data.
To use the enclave, you can either run it inside the Cloudflare Durable Object or use it using the Golang Host Runtime.
The Cloudflare Durable Object is a simple way to run the enclave in the cloud. You can find the code for the Durable Object under the worker directory.
If you want to run the enclave locally, you can use the Golang Host Runtime. You can find the code for the Host Runtime under the runtime directory.
- The
runtimedirectory leverages the extism sdk and also proto actor in order to maintain plugin specific functionality.
Generates a new key pair and returns the public key.
Signs the provided data using the private key.
Verifies the provided signature using the public key.
This project is licensed under the MIT License - see the LICENSE file for details.