Skip to content
GitLab
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
fcc1b59b
Commit
fcc1b59b
authored
Dec 19, 2018
by
Sietse Ringers
Browse files
Download default schemes (pbdf and irma-demo) if none are given
Co-authored-by:
Confiks
<
confiks@scriptbase.org
>
parent
a4b62d72
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/backend/api.go
View file @
fcc1b59b
...
...
@@ -35,6 +35,12 @@ func Initialize(configuration *server.Configuration) error {
if
err
=
conf
.
IrmaConfiguration
.
ParseFolder
();
err
!=
nil
{
return
err
}
if
len
(
conf
.
IrmaConfiguration
.
SchemeManagers
)
==
0
{
conf
.
Logger
.
Info
(
"No schemes found in irma_configuration, downloading default schemes"
)
if
err
:=
conf
.
IrmaConfiguration
.
DownloadDefaultSchemes
();
err
!=
nil
{
return
err
}
}
}
if
conf
.
IssuerPrivateKeys
==
nil
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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