-
Notifications
You must be signed in to change notification settings - Fork 92
Closed
Description
The nv2 binary doesn't currently have a way to generate a key pair for signing which makes it harder than it needs to be for new users to use nv2. Please add a subcommand that generates a keypair.
I suggest nv2 keygen as a subcommand. At a minimum, it needs to perform the functional equivalent of the following as mentioned here.
openssl req \
-x509 \
-sha256 \
-nodes \
-newkey rsa:2048 \
-days 365 \
-subj "/CN=${REGISTRY}/O=wabbit-networks inc/C=US/ST=Washington/L=Seattle" \
-addext "subjectAltName=DNS:${REGISTRY}" \
-keyout ./wabbit-networks.key \
-out ./wabbit-networks.crt
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels