You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The handling of these options is indeed a little confusing, I'll see if that can be made more clear.
The current way for instructing the irma server not to update schemes is to set the schemes_update option to 0. That will work (if you pass -v or -vv, you'll see no HTTP calls to the IRMA schemes), even though the printed configuration claims it is set to 60.
The disable_schemes_update flag was only meant to be used when using the irmaserver library. The reason for this is that when you use Go (as opposed to the irma server on the command line) the distinction between schemes_update being set to 0 or being absent from the Configuration struct is impossible to detect, so I had to introduce this boolean to allow users to disable scheme updating in this case. Consequentially, the irma server does not know of the disable_schemes_update flag and so ignores it when you put it in a configuration file.
When using the
irma server
, setting thedisable_schemes_update
config option totrue
does not have effect.To disable it you need to set the interval to
0
, but theschemes_update
won't change.Also the documentation is contradicting:
https://github.com/privacybydesign/irmago/blob/master/server/api.go#L39
Found the problem on line: https://github.com/privacybydesign/irmago/blob/master/server/irmad/cmd/root.go#L216
The text was updated successfully, but these errors were encountered: