Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
irmago
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
IRMA
Github mirrors
irmago
Commits
67169d8a
Commit
67169d8a
authored
Nov 16, 2019
by
Sietse Ringers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: add 'irma issuer' shortcut to 'irma scheme issuer'
parent
3d7ba7f7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
irma/cmd/issuer.go
irma/cmd/issuer.go
+1
-0
irma/cmd/revocation-keypair.go
irma/cmd/revocation-keypair.go
+2
-1
irma/cmd/revocation.go
irma/cmd/revocation.go
+2
-2
No files found.
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