.\" -*- mode: troff; coding: utf-8 -*- .TH "nix3-key-convert-secret-to-public" "1" "" .PP \fBWarning\fR: This program is \fBexperimental\fR and its interface is subject to change. .SH Name \fCnix key convert-secret-to-public\fR - generate a public key for verifying store paths from a secret key read from standard input .SH Synopsis \fCnix key convert-secret-to-public\fR [\fIoption\fR\[u2026]] .SH Examples .IP "\(bu" 2 Convert a secret key to a public key: .LP .EX # echo cache.example.org-0:E7lAO+MsPwTFfPXsdPtW8GKui/5ho4KQHVcAGnX+Tti1V4dUxoVoqLyWJ4YESuZJwQ67GVIksDt47og+tPVUZw== \e | nix key convert-secret-to-public cache.example.org-0:tVeHVMaFaKi8lieGBErmScEOuxlSJLA7eO6IPrT1VGc= .EE .SH Description This command reads a Ed25519 secret key from standard input, and writes the corresponding public key to standard output. For more details, see \fBnix key generate-secret\fR (\fI./nix3-key-generate-secret.md\fR).