Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Shutter's API Service #2

Closed
ylembachar opened this issue Nov 25, 2024 · 0 comments
Closed

Implement Shutter's API Service #2

ylembachar opened this issue Nov 25, 2024 · 0 comments

Comments

@ylembachar
Copy link
Collaborator

ylembachar commented Nov 25, 2024

See EPIC #1 for the full specification

This service is a helper service that allows to use the Shutter system:

  • Has access to the keyper endpoint to retrieve old decryption keys
  • Exposes the below endpoints:

Endpoint 1: Register Identity with Timestamp

  • Allows a client to register an identity and time-based decryption trigger.
  • Stores the client's identity and timestamp on the registry contract.
  • Returns the encryption key for that identity.
  • If the identity is not supplied, it returns a randomized identity together with the encryption key.

Endpoint 2: Get Encryption Key

  • Allows a client to retrieve the encryption key for a certain identity.

Endpoint 3: Get Decryption Key

  • Retrieve the decryption key once the timestamp is reached.
  • Provides the decryption key to the client for local decryption.

Endpoint 4: Decrypt Commitments

  • Perform decryption of encrypted commitments.
  • Accepts encrypted data with an identity. Decryption keys are stored when released per identity.
  • Outputs the decrypted data.

The service needs to offer the below additional functionalities:

  • Stores decryption keys when released
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant