Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
IRMA
Github mirrors
irmago
Commits
67169d8a
Commit
67169d8a
authored
Nov 16, 2019
by
Sietse Ringers
Browse files
feat: add 'irma issuer' shortcut to 'irma scheme issuer'
parent
3d7ba7f7
Changes
3
Hide whitespace changes
Inline
Side-by-side
irma/cmd/issuer.go
View file @
67169d8a
...
...
@@ -12,4 +12,5 @@ var issuerCmd = &cobra.Command{
func
init
()
{
schemeCmd
.
AddCommand
(
issuerCmd
)
RootCmd
.
AddCommand
(
issuerCmd
)
}
irma/cmd/revocation-keypair.go
View file @
67169d8a
...
...
@@ -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
])
...
...
irma/cmd/revocation.go
View file @
67169d8a
...
...
@@ -4,10 +4,10 @@ import (
"github.com/spf13/cobra"
)
// revocationCmd represents the revo
ke
command
// revocationCmd represents the revo
cation
command
var
revocationCmd
=
&
cobra
.
Command
{
Use
:
"revocation"
,
Short
:
"Revo
ke credentials and manage revocation database
"
,
Short
:
"Revo
cation
"
,
}
func
init
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment