Skip to manual
gluon

CLI reference

gluon keygen

Create an Ed25519 key pair for signing packages during development.

Model author or developer

Usage

Run it as gluon keygen (in the repository, cargo run -p gluon-cli -- keygen).

Console / text
Create a dev-only Ed25519 file key (<out> and <out>.pub). Production keys live in the key service

Usage: gluon keygen <OUT>

Arguments:
  <OUT>

Options:
  -h, --help  Print help

What it reads and writes

It writes the private key to OUT, readable by you alone, and the public key to OUT.pub, then prints the key id. It needs no database.

Before you run it

The private key signs packages that others will trust. Keep it out of git and use it for development only. Production signing uses gluon package --key-ref, so the key stays in the key service.

gluon keygen writing a development key pair to a scratch folder.
gluon keygen writing a development key pair to a scratch folder.