Scroll to navigation

rage-keygen(1) General Commands Manual rage-keygen(1)

NAME

rage-keygen - Generate age-compatible encryption key pairs

SYNOPSIS

rage-keygen [-h|--help] [-V|--version] [-o|--output] [-y ] [INPUT]

DESCRIPTION

rage-keygen generates a new native age key pair, and outputs the identity to standard output or to the OUTPUT file. The output includes the public key and the current time as comments.

If the output is not going to a terminal, rage-keygen prints the public key to standard error.

OPTIONS

Affiche ce message d'aide et quitte.
Affiche les informations de version et quitte.
Write the identity to OUTPUT instead of standard output.

If OUTPUT already exists, it is not overwritten.

Read an identity file from INPUT or from standard input and output the corresponding recipient(s), one per line, with no comments.
[INPUT]
Chemin vers un fichier à lire.

EXAMPLES


$ rage-keygen
# créée: 2021-01-02T15:30:45+01:00
# clef publique: age1lvyvwawkr0mcnnnncaghunadrqkmuf9e6507x9y920xxpp866cnql7dp2z
AGE-SECRET-KEY-1N9JEPW6DWJ0ZQUDX63F5A03GX8QUW7PXDE39N8UYF82VZ9PC8UFS3M7XA9


$ rage-keygen -o key.txt
Clef publique: age1ql3z7hjy54pw3hyww5ayyfg7zqgvc7w3j2elw8zmrj2kg5sfn9aqmcac8p


$ rage-keygen -y key.txt
age1ql3z7hjy54pw3hyww5ayyfg7zqgvc7w3j2elw8zmrj2kg5sfn9aqmcac8p

SEE ALSO

rage(1), rage-mount(1)

VERSION

v0.11.1

AUTHORS

Jack Grigg <thestr4d@gmail.com>

rage-keygen 0.11.1