Commit 67169d8a authored by Sietse Ringers's avatar Sietse Ringers

feat: add 'irma issuer' shortcut to 'irma scheme issuer'

parent 3d7ba7f7
......@@ -12,4 +12,5 @@ var issuerCmd = &cobra.Command{
func init() {
schemeCmd.AddCommand(issuerCmd)
RootCmd.AddCommand(issuerCmd)
}
......@@ -9,7 +9,8 @@ var revokeKeypairCmd = &cobra.Command{
Use: "keypair PRIVATEKEY PUBLICKEY",
Short: "Augment an IRMA private-public keypair with revocation key material",
Long: `Augment an IRMA private-public keypair with newly generated revocation key material.
This is required before credential types requiring revocation can be issued under this keypair.`,
This is required before credential types requiring revocation can be issued under this keypair.
(New keypairs generated with "irma scheme issuer keygen" already support revocation.)`,
Args: cobra.ExactArgs(2),
Run: func(cmd *cobra.Command, args []string) {
sk, err := gabi.NewPrivateKeyFromFile(args[0])
......
......@@ -4,10 +4,10 @@ import (
"github.com/spf13/cobra"
)
// revocationCmd represents the revoke command
// revocationCmd represents the revocation command
var revocationCmd = &cobra.Command{
Use: "revocation",
Short: "Revoke credentials and manage revocation database",
Short: "Revocation",
}
func init() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment