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
07c7e089
Commit
07c7e089
authored
Jun 17, 2021
by
Sietse Ringers
Browse files
docs: clarify comments on loading Idemix key updates in the keyshare server
parent
e25de3c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/keyshare/keyshareserver/server.go
View file @
07c7e089
...
...
@@ -72,8 +72,7 @@ func New(conf *Configuration) (*Server, error) {
return
nil
,
err
}
// Load neccessary idemix keys into core, and ensure that future updates
// to them are processed
// Load Idemix keys into core, and ensure that new keys added in the future will be loaded as well.
if
err
=
s
.
loadIdemixKeys
(
conf
.
IrmaConfiguration
);
err
!=
nil
{
return
nil
,
err
}
...
...
@@ -130,8 +129,7 @@ func (s *Server) Handler() http.Handler {
return
router
}
// On configuration changes, inform the keyshare core of any
// new IRMA issuer public keys.
// On configuration changes, update the keyshare core with all current public keys of the IRMA issuers.
func
(
s
*
Server
)
loadIdemixKeys
(
conf
*
irma
.
Configuration
)
error
{
errs
:=
multierror
.
Error
{}
for
_
,
issuer
:=
range
conf
.
Issuers
{
...
...
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