Skip to content

A tool for signing raw messages using ED25519 keys stored in HashiCorp Vault

Notifications You must be signed in to change notification settings

MCarlomagno/signet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Signet

A tool for signing raw messages using ED25519 keys stored in HashiCorp Vault. This enables remote key management and signing operations through HashiCorp's secret management service.

Warning: this is an experimental project under development.

Getting started

  1. Create a Hashicorp account
  2. Create new organization
  3. Go to secrets app and create a new app.
  4. Create new static secret, the value must be a valid ed25519 secret key, you can generate a random key using https://cyphr.me/ed25519_tool/ed.html

Setup

Create .env file with following entries

HASHICORP_CLIENT_ID=L5...Xa
HASHICORP_CLIENT_SECRET=Q9...2P
HASHICORP_ORG_ID=1b345678-b123-a123-c123-1b345678 # in org settings
HASHICORP_PROJECT_ID=1b345678-b123-a123-c123-1b345678 # in project settings
HASHICORP_APP_NAME=your_app_name

Running the project

cargo run <key_name> <message_to_sign>

Where key_name is the name of the secret key in the vault, and message_to_sign is any arbitrary string.

About

A tool for signing raw messages using ED25519 keys stored in HashiCorp Vault

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages