All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Update Go toolchain 1.26.3 → 1.26.4 to fix vulnerabilities in
net/textproto(GO-2026-5039) andcrypto/x509(GO-2026-5037) - Update dependencies with security relevance:
github.com/go-chi/chi/v55.2.5 → 5.3.0 (host header handling)github.com/golang-jwt/jwt/v55.2.2 → 5.3.1github.com/hashicorp/go-retryablehttp0.7.7 → 0.7.8 (avoids leaking credentials embedded in request URLs)
- Sanitize user-controlled strings before writing them to log entries to prevent log injection
- Filter sensitive HTTP headers (
Authorization,Cookie,Set-Cookie,X-Auth-Token) from request logs - Fix email header injection by using the parsed recipient address in the SMTP
To:header - Normalize file paths via
filepath.Cleanbefore filesystem operations
- Raise the minimum Go version to 1.26
- Apply
go fixmodernizations across the codebase and enforcego fixas a CI status check - Update CI GitHub Action versions to Node 24 supported once
- Update other dependencies to their latest releases:
github.com/lestrrat-go/jwx/v3,github.com/go-co-op/gocron(v1 and v2),github.com/spf13/{cast,cobra,pflag,viper},go.etcd.io/bbolt,gorm.io/driver/{mysql,postgres,sqlserver},github.com/alicebob/miniredis/v2,github.com/go-chi/corsandgithub.com/go-errors/errors
- Treat email addresses with a non-resolvable (NXDOMAIN) domain as permanently invalid instead of a transient network error, so the keyshare email task no longer retries them indefinitely and crowds out delivery of valid emails
- Fix
panic: send on closed channelin the in-memory session store that could crash the server when an expired session was deleted while a status update for it was still being delivered to subscribers. Session-update notifications are now delivered synchronously under the read lock (mutually exclusive with channel closing) instead of from an unsynchronized goroutine, and subscription channels are cleaned up when their subscriber goes away. This also fixes two related data races on the session store detected under-race. - Fix disclosure returning the wrong credential instance after another instance of the same credential type was deleted, caused by the positional credential cache not being invalidated for the instances shifted by the deletion
1.0.0 - 2026-06-19
- Support for issuing SD-JWT VC credentials over the OpenID4VCI protocol to the new
clientpackage- Supports the Pre-Authorized Code flow, including an optional
tx_code(with retry on incorrect entry) - Supports the Authorization Code flow, including Pushed Authorization Requests (PAR), in-app browser based authorization, and PKCE
- Supports DID-based holder binding: keys are bound to the credential at issuance, stored securely on the client, and removed together with the credential
- Supports
authorization_detailsin Authorization and Token requests - Supports encrypted credential request bodies
- Issuers are verified via
did:web,did:keyanddid:jwk; thedid:webresolver can be configured to accept insecure HTTP for development
- Supports the Pre-Authorized Code flow, including an optional
- Support for disclosing SD-JWT VC credentials with nested selectively-disclosable claims and array claims over the OpenID4VP 1.0 protocol
- DCQL support extended with
claim_sets, themultipleflag, predefined claim values (also for non-string values), andrequire_cryptographic_holder_binding - Adds the
didverifier identifier prefix in addition to the existingx509_san_dns - Stricter validation of presentation nonces and verifier metadata
- DCQL support extended with
- New top-level Go package
client, offering a unifiedClientthat wraps the existingirmaclient(renamed toIrmaClient) together with anOpenID4VCIClientand anOpenID4VPClient- New schemaless session implementation that no longer relies on
IrmaConfigurationfor OpenID4VCI/VP credential types - New
common/clientmodelspackage containing the serializable types shared between client integrations (sessions, logs, interactions) - API to delete individual credentials, and the ability to mark batches of size 1 as infinitely reusable
- New schemaless session implementation that no longer relies on
- Encrypted-at-rest EUDI storage using SQLCipher for sensitive data such as holder binding keys, key metadata, and SD-JWT VC credentials
- File names of stored images and logos (credential, issuer, requestor) are hashed and salted with an AES-derived key
- New EUDI session log system covering both OpenID4VCI issuance and OpenID4VP disclosure sessions
- Logs include credential metadata, issuer/credential/requestor logos, revocation status and dates
- Logs are indexed by creation date and merged with
irmaclientlogs in chronological order using a two-pointer merge DeleteAllnow also clears the EUDI storage and database contents
yivitop-level command line tool that wraps the existingirmacommand (container image published asghcr.io/privacybydesign/yivi); the existingirmacommand remains available asyivi irma ...- Disclosure UI improvements: support for attribute group headers, credential images shown during disclosure, and a more reliable selection of the requestor's display name
- Raise the minimum Go version to 1.26
- Apply
go fixmodernizations across the codebase and enforcego fixas a CI status check - Requests using
irma.HTTPTransporthave a doubled response timeout (20 seconds) to accommodate for slow and/or foreign connections Attributeno longer carries anId; it now carries aClaimPath([]any) to address nested claims. TheArrayandObjectvalue variants are removed fromAttributeValue, andTranslatedStringis no longer anAttributeValuevariant- Public structs across the client packages now use snake_case JSON tags
SessionState.Erroris now a serializable error type;PinBlockedTimeSecondsandRemainingPinAttemptsare now optional; sessions can be dismissed from any state- Revocation attributes are filtered out of the user-facing attribute list; the wrongly-issued credential view only contains the relevant attribute and only the most recent wrongly-issued credential is shown
- The repository layout has been reorganised: CLI sources moved under
yivi/cli/..., theirma/cmdpackage now lives atyivi/cli/irmacli, and EUDI components live under the neweudi/...tree
- Update dependencies to resolve Dependabot security advisories:
golang.org/x/crypto0.40.0 → 0.53.0 (GHSA-f6x5-jh6r-wrfv, GHSA-j5w8-q4qc-rx2x)github.com/sirupsen/logrus1.9.0 → 1.9.4 (GHSA-4f99-4q7p-p3gh)github.com/jackc/pgx/v55.5.5 → 5.10.0 (GHSA-9jj7-4m8r-rfcm, GHSA-j88v-2chj-qfwx)filippo.io/edwards255191.1.0 → 1.2.0 (GHSA-fw7p-63qq-7hpr)
- Bug that keyshare registration failed when users email domain had no MX records.
- Bug where an empty
conin acondisconrequest caused all attribute disclosures to be swallowed, even when othercons were satisfied (irmamobile #360)
irma serverflags--email/-eand--no-email, and theemailconfig key, are no longer used. They are still accepted for backwards compatibility but will emit a deprecation warning when set.
- Outbound POST of admin email and version to
privacybydesign.foundation/serverinfo/onirma serverstartup (endpoint no longer exists) - Production-mode requirement that
irma serveroperators specify--emailor--no-email; the admin email value is no longer used for anything
- New
eudi/...tree with packages for OpenID4VCI, OpenID4VP, DCQL, SD-JWT VC presentation/verification, DID resolution (did:web,did:jwk), JWT key providers, OAuth2/PKCE, and storage (SQLCipher + filesystem) - Test infrastructure for OpenID4VCI: local issuance server, mock authorization server, and a Veramo-compatible OpenID4VP verifier; integration tests for both the Pre-Authorized and Authorization Code flows
- Significant expansion of the integration test suite (chained sessions, signature sessions, pairing code, optional credentials, multiple-credential issuance, schemaless disclosure, complex SD-JWT VC scenarios)
- Docker Compose now runs integration tests with TLS; CGO is enabled via env var to support SQLCipher
- SQLCipher build instructions for macOS, Debian/Ubuntu, Fedora/RHEL and Windows added to the README; CI installs the SQLCipher library. Pre-compiled release binaries are still built with
CGO_ENABLED=0and do not include SQLCipher
0.19.2 - 2026-02-26
- Bug that caused HTTP request body to not be sent upon retransmission
- Add wildcard support for authorized credentials and attributes in relying party and attestation provider certificates
0.19.1 - 2025-10-13
- Bug in
irmaclientthat caused attributes to be stored in the wrong order in credential removal logs
0.19.0 - 2025-09-30
- Remove legacy storage from irmaclient
- Add support for issuing SD-JWT VC together with Idemix over the IRMA protocol to
irmaclientandirmaserver- Irma servers can opt-in to SD-JWT VC issuance by configuring issuer certificates and private keys for SD-JWT VC
- SD-JWT VCs are issued in batches of which the size is specified in the issuance request
- SD-JWT VCs contain key binding public keys for which the private key is stored securely on the client
- These holder/key binding public keys are provided to the issuer's irma server by the client during the commitments POST request
- SD-JWT VC issuers are verified via certificates on the new Yivi trust lists, permissions are checked on the client via a custom json field in the certificates
- Old
Clientwas renamed toIrmaClientand was wrapped in newClientstruct together with newOpenID4VPClient
- Add support for disclosing SD-JWT VC credentials over the OpenID4VP 1.0 protocol to
irmaclient- Supports both
direct_postanddirect_post.jwtresponse modes - Supports DCQL queries for credentials that can be found in the schemes, specified by
vct_values - Supports
x509_san_dnsclient identifier prefix - Verifiers are trusted via x509 certificates on the new Yivi trust lists, attribute permissions are checked on the client via a custom json field in these certificates
- Supports both
- Solve issue that made log logo paths invalid on iOS after each update/recompilation
- Fix for CVE GHSA-pv8v-c99h-c5q4 (Next session functionality can be used to do sessions on irma server without proper permissions)
0.18.1 - 2025-04-10
- Bug in
irmaclientthat caused the pin challenge to always be called (at least) twice
0.18.0 - 2025-04-09
-
Download schemes from
https://schemes.yivi.app/instead ofhttps://privacybydesign.foundation/schememanager/Note: if the scheme auto-update mechanism is enabled in your
irma server(enabled by default), please make sure outgoing network traffic is allowed from yourirma serverto schemes.yivi.app (51.158.130.42) and privacybydesign.foundation (37.97.206.70)
0.17.1 - 2025-04-01
- Make keyshare pin challenge more resilient by retrying when
pin_challengeresponsefails due to a server conflict
- Update github.com/golang-jwt/jwt/v4 from 4.5.1 to 4.5.2
0.17.0 - 2025-03-14
- Option to generate and use scheme private keys encrypted with a passphrase
- Use golang version 1.23
- Make keyshare protocol more resilient by retrying when
getResponsefails due to a server conflict
- Key ID not being set correctly in keyshare JWTs
- Infinite loop in SSE go-routine in sessions with pairing mode enabled
- Update go toolchain to 1.23.5
- Update golang.org/x/crypto to 0.32.0
- Fix docker-compose not being available for test jobs in default GH Actions runner image
- Dev: make sure keyshare and myirmaserver don't crash when using example configuration
- Add arm64 docker build to delivery workflow
0.16.0 - 2024-07-17
- Option to configure client mtls redis cert and key for
irma server,irma keyshare serverandirma keyshare myirmaserver
- Update go toolchain to 1.22.5
- Update github.com/hashicorp/go-retryablehttp dependency from 0.7.1 to 0.7.7
- Phase out deprecated GitHub Actions packages
0.15.2 - 2024-03-19
- Update go toolchain to 1.22.1
- Update github.com/jackc/pgx/v5 dependency from 5.4.3 to 5.5.4
- Fix sqlserver tests in GitHub Actions workflow
0.15.1 - 2023-12-18
RemoveSchemefunction inirmaclientalready stripping storage before checking whether the scheme is in assets
- Update go toolchain to 1.21.5
0.15.0 - 2023-12-11
- Support for Redis in Sentinel mode
- Redis support for
irma keyshare serverandirma keyshare myirmaserver /healthendpoint forirma server,irma keyshare serverandirma keyshare myirmaserverRemoveRequestorSchemefunction inirmaclientto remove a requestor scheme from theirma_configurationdirectory
- Using optimistic locking in the
irma serverinstead of pessimistic locking storage-fallback-key-fileoption ofirma keyshare serverbeing replaced bystorage-fallback-keys-diroption
- HTTP cookies not stored in
irmaclientwhen received from aSet-Cookieheader - Invalid hostname specified in MX record bypasses e-mail address revalidation
- Background revocation tasks not stopped when closing an
irmaclient RemoveSchemefunction inirmaclientnot deleting issuer schemes without a keyshare server (#260)
- Fixed issue with expired
irma-demo.MijnOverheidkey in testdata - Always use testdata of current branch for integration-test jobs in GitHub Actions workflow
0.14.2 - 2023-10-25
- IRMA session gets stuck in communicating status when user is requested to confirm PIN in
irmaclient
0.14.1 - 2023-10-18
- Improve stability of database drivers by bumping their versions
- Use Go toolchain version 1.21.3 for building
irmaCLI tool
- Fixed failing tests due to expired test.test2 idemix key
0.14.0 - 2023-10-02
Note for users of the irmaclient package (e.g. maintainers of the Yivi app): the KeyshareVerifyPin function requires the renewal endpoint for the keyshare attribute to be present. Therefore, this version should first be deployed on keyshare servers before the client side can be upgraded.
- Option
skipExpiryCheckin disclosure requests to allow disclosure of expired credentials (e.g."skipExpiryCheck": ["irma-demo.sidn-pbdf.email"]) - Option
hostin session request to overrule host name in IRMA QR if permission has been granted (see below)This leads to the following session package:{ "@context": "https://irma.app/ld/request/disclosure/v2", "host": "irma.example.com", "disclose": ... }{ "token":"KzxuWKwL5KGLKr4uerws", "sessionPtr": {"u":"https://irma.example.com/irma/session/ysDohpoySavbHAUDjmpz","irmaqr":"disclosing"}, "frontendRequest": { "authorization":"qGrMmL8UZwZ88Sq8gobV", "minProtocolVersion": "1.0", "maxProtocolVersion": "1.1" } } - Permission option
host_permsin the requestor configuration to specify which values a requestor may use for thehostoption in session requests{ "requestors": { "myapp": { "disclose_perms": [ "irma-demo.MijnOverheid.ageLower.over18" ], "sign_perms": [ "irma-demo.MijnOverheid.ageLower.*" ], "issue_perms": [ "irma-demo.MijnOverheid.ageLower" ], "host_perms": ["*.example.com"] "auth_method": "token", "key": "eGE2PSomOT84amVVdTU" } } } - Renewal endpoint for keyshare attribute in the keyshare server (
/users/renewKeyshareAttribute) - Keyshare server /api/v2/prove/... endpoints for the new keyshare protocol
KeyshareVerifyPinfunction in irmaclient ensures the keyshare attribute is valid- Sending the account expiry email is done when user has only valid e-mail addresses
- Strip unnecessary details from database errors
- User account expiry continues when one or more e-mail addresses are marked for revalidation
0.13.3 - 2023-09-06
- Auto-update mechanism of IRMA configuration not working in ghcr.io/privacybydesign/irma Docker container
- Panics occur when the timestamp file does not exist in a scheme directory
0.13.2 - 2023-08-22
- Remove mail header 'Content-Transfer-Encoding: binary' The header gets converted to 'Content-Transfer-Encoding: quoted-printable' causing 'arc=fail (body hash mismatch)' with gmail
0.13.1 - 2023-08-16
- Invalid amount of arguments in query scan when e-mail revalidation is disabled
0.13.0 - 2023-08-10
- E-mail address revalidation, addressing issues where user's e-mail addresses can be (temporary) invalid
- Publish the Docker image of the
irmaCLI tool on ghcr.io/privacybydesign/irma - Support for revocation db type
sqlserver(Microsoft SQL Server)
- Use separate application user in Dockerfile for entrypoint
- Rename RevocationStorage's UpdateLatest function to LatestUpdates. This name better fits its behaviour. The functionality stays the same.
- Validate revocation witness before revocation update is applied
- RevocationStorage's EnableRevocation function does not return an error anymore if it has been enabled already
- Use a Docker image created from scratch as base for the Dockerfile
- Custom WrapErrorPrefix function that respects the error's type
- Log info message of irma.SessionError errors
As part of e-mail address revalidation:
VerifyMXRecordincorporates a check to see if there is an active network connection- MyIrma server:
/userreturns an additional fieldrevalidate_in_progressin the JSON response body, indicating whether the e-mail address is being revalidated or not - MyIrma server:
/user/deleteand/email/removereturn a 500 status code andREVALIDATE_EMAILerror type if one or more e-mail addresses of the user are invalid
Note: Enabling e-mail address revalidation requires a change in the database schema. In order to do this please add the revalidate_on column of type bigint to the irma.emails table. See the schema file. Otherwise e-mail address revalidation is disabled and there will not be a breaking change.
- Race conditions in database logic of revocation storage
irma scheme verifynot detecting missing files in index- Scheme verification/signing does not reject credentials with invalid revocation settings
- Write transactions within memory implementation of revocation storage may lead to unintended changes
- Superfluous openssl package in Dockerfile
- Let IRMA servers by default reject IRMA/Yivi apps that don't support pairing codes (IRMA protocol version <= 2.7)
Note: This is an important security update for issuers to make sure that pairing codes cannot be circumvented. IRMA apps that don't support pairing codes should not be in circulation anymore, so this change won't affect users. Yivi apps have always supported pairing codes.
- Linter switch from golint to staticcheck
- Use Postgres 15 for unit and component tests
0.12.6 - 2023-05-31
- Legacy endpoints of keyshare server return 403 status codes when database is down
0.12.5 - 2023-05-25
- Print warning in logs if log verbosity is set to trace
- LogoPath is incorrect after a requestor scheme update
- Parallel sessions may fail when one of the sessions requires pairing
0.12.4 - 2023-05-16
- Revocation related log messages occur twice or have wrong severity in irmaclient
0.12.3 - 2023-05-12
- Move checks for missing schemes from scheme parsing to storage parsing
- Ignore directories in irma_configuration directory that don't contain a scheme
- Stability issues in transport logic
- Server and client timeouts are out-of-sync
- Keyshare server returns 403 status codes when database is down
- Handling invalid email or login tokens gives different status codes in different contexts
- CopyDirectory function may fail when relative paths are used
- Improve randomness of session tokens and pairing codes
- Change contact e-mail address in README to Yivi
- Phase out deprecated io/ioutil library
0.12.2 - 2023-03-22
- Keyshare token cached by irmaclient becomes invalid when PIN is changed
0.12.1 - 2023-02-28
- Disable CGO bindings for release artifacts to natively support Alpine
0.12.0 - 2023-02-28
- Separate timeout constraints for the amount of time a client has to complete a session (
MaxSessionLifetime) and a requestor has to retrieve the session result from the server (SessionResultLifetime) - In
keyshareserver,EmailTokenValidityallows configuring how long an e-mail address validation token is valid
- The maximum time a client has to complete a session is increased in
MaxSessionLifetimeto 15 minutes by default myirmaserverreturns a more appropriate403 Invalid tokenerror response during e-mail address verification at/verifywhen the provided token is expired and therefore not found in the database.
- Update dependency
golang.org/x/netto v0.7.0, addressing CVE-2022-27664 - Update dependency
golang.org/x/text/languageto v0.7.0, addressing CVE-2022-32149
0.11.2 - 2023-02-13
- ParseFolder cannot handle legacy oldscheme and tempscheme directories
0.11.1 - 2023-01-19
- Missing support for keyshare server endpoint versioning
- Superfluous endpoint versioning in HTTP response headers of keyshare server
- Race condition in revocation gocron instance due to jobs that start too soon
- Deal with leftover temp dirs in scheme folder if updating is aborted
- Scheme index updates within UpdateSchemes should be written to disk atomically
- InstallScheme does not undo its changes when an error occurs
- Test: race condition in StartBadHttpServer handler
0.11.0 - 2022-11-10
- Storage encryption functionality in
irmaclient - Challenge response user authentication using ECDSA key pair between
irma keyshare serverandirmaclient - Support for multiple keyshare servers in
irmaclientto improve testability - Extra configuration options for postgres database connections in
irma keyshare serverandirma keyshare myirmaserver - Rate limiting on sending emails to the same email address in a short time period by
irma keyshare serverandirma keyshare myirmaserver - Middleware to catch panics in HTTP handlers and return a 500 error instead
- Performance test scripts for
irma keyshare server - MyIRMA webclient service in docker-compose.yml to improve development setup
- CI status check for i386 architecture
- CodeQL static code analysis
- Contact details for support, discussion and responsible disclosure
- VSCode launch configuration
- BREAKING:
irmaclientrequires minimumirma keyshare serverversion 0.11.0 (due to challenge response user authentication).irma keyshare serverdoes support olderirmaclientversions. - Updated dependencies
- Phased out unmaintained jasonlvhit/gocron library and migrated to go-co-op/gocron
- Made gocron usage more consistent
- Phased out legacy
irmaclientlog entry formats - Consistently specify charset in HTTP responses when the content type is
application/json - Applied the code convention changes of golang 1.19
- Always use the latest version of golang in GitHub status checks
- Improved input validation of email addresses
- Improved testability of revoked credentials
- Use new URL of timestamp server (atumd) in unit tests
- Broken retrieval of user from postgres database by
irma keyshare server - Also remove legacy file storage when calling
RemoveStorageinirmaclient irma keyshare myirmaserverrequests login and email attribute options as conjunction instead of as disjunction- Chained sessions did not work due to bug in
irma keyshare server - Attributes from multiple issuer schemes could not be mixed in chained sessions
- Panics occurred during error handling in
irmaclient - Avoid gocron panics in revocation code during
irmaclientstartup - Do not abort
irma keyshare tasksrun while looping over expired accounts and finding an invalid email address (quick fix) - Use subject value instead of file path value as email subject in account removed email of
irma keyshare myirmaserver - Requestor JWT authentication did not work at revocation endpoint of
irma server - Concurrency issues in
irmaclient.Client.credential()andirma.Configuration.parseKeysFolder()
- Prevent that a user can detect whether a certain email address is registered at
irma keyshare serverandirma keyshare myirmaserver(vulnerable versions have never been live in production)
0.10.0 - 2022-03-09
irma sessionnow supports static sessions and can start sessions from a session package- (Requestor) schemes and their contents can now specify their languages, which
irma scheme verifytakes into account - Add Apple Silicon builds in releases
- Mutex deadlock that could freeze the server when using chained sessions
- Bug that would prevent warnings on 4xx and 5xx responses from showing when not in verbose/debug mode
0.9.0 - 2021-12-17
- Support for stateless IRMA server using Redis
- Added Dockerfile and docker-compose files for running
irma, the unit tests, and/or the services required by the unit tests
- Improve error messages of IRMA server in case of invalid session requests
- Fix panic when an issuance request contains a credential ID consisting of less than three parts
- Ensure session handler callback function, when specified, is also called when session expires
- Several small bugs in MyIRMA backend server
0.8.0 - 2021-07-27
This release contains several large new features. In particular, the shoulder surf prevention feature brings a number of breaking changes in the API, mainly within the irmaserver package.
- Support for chained IRMA sessions
- A Go rewrite of the keyshare server (see the new
irma keysharecommands), succeeding the now deprecatedirma_keyshare_server - Added a function
SessionStatusin theirmaserverpackage returning a channel with status updates of an IRMA session - Added
--api-prefixparameter to the IRMA server for prefixing its API endpoints with a string - Added
--max-session-lifetimeparameter to the IRMA server for setting the session expiry (default 5 minutes) - Shoulder surfing prevention: support for device pairing to prevent shoulder surfing (i.e. make it impossible for someone in close physical proximity to a user to scan the QR code that was meant for the user)
- Introduced new endpoints used by the frontend to manage device pairing
- The API of the
irmaserverpackage has two new functionsSetFrontendOptionsandPairingCompleted - A new server status
"PAIRING"is introduced
- During scheme parsing, folders found in the scheme folder not present in the assets (when configured) are removed
- Shoulder surfing prevention:
- The
server.SessionPackagestruct now contains a new structFrontendRequestof type*irma.FrontendSessionRequest, containing the following:- A boolean
PairingRecommended(namedpairingHintwhen being marshalled to JSON) that is set to true when pairing is recommended for that session, as indication to the frontend - An
Authorizationtoken used by the frontend to set pairing options - Fields called
MinProtocolVersionandMaxProtocolVersionindicating the frontend protocol version range supported by the IRMA server.
- A boolean
- The return values of the
StartSessionfunction from the API of theirmaserverpackage have changed as follows:- The type of the second return parameter, the requestor token, has changed from
stringtoirma.RequestorToken - A new return parameter (type
*irma.FrontendSessionRequest) has been added containing the frontend pairing settings (corresponding to theFrontendRequestfield in theserver.SessionPackagementioned above)
- The type of the second return parameter, the requestor token, has changed from
- The
tokenparameter, as used by most functions in the API of theirmaserverpackage, now has the typeirma.RequestorToken - The
server.Statustype has been moved toirma.ServerStatus; the related constants are also moved, e.g. fromserver.StatusInitializedtoirma.ServerStatusInitialized
- The
- Bug causing IRMA server startup to fail when revocation is enabled
- Bug causing sessions to fail when revocation is enabled and the issuer has multiple revocation-enabled keys
- Incorrectly cased SQL column name used in revocation data lookup
- Bug causing issuance time in revocation records being floored to credential validity epoch boundaries
- Fixed bug when loading private key of issuer if another issuer with a similar name exists
0.7.0 - 2021-03-17
- Bug causing scheme updating to fail if OS temp dir is on other file system than the schemes
- Prevent session result JWTs from being expired immediately if no expiry is specified is set in the session request; instead in that case they expire after two minutes
- When POSTing session result to the
callbackUrlspecified in session request, setContent-Typetoapplication/jsonfor JSON messages - Fixed panic during scheme downloading on Windows
- Correctly decode randomblind attributes when verifying disclosures/signatures
- Add request URL to log entry when IRMA server encounters an error (404 or otherwise) during HTTP request handling
- Add flag
--allow-unsigned-callbacksto IRMA server to allowcallbackUrlin session requests when no JWT private key is installed - Add flag
--augment-client-return-urlto IRMA server to enable augmenting client return URL with server session token as query parameter (needs to be additionally enabled in session requests) - Add new
irma issuer keyproveandirma issuer keyverifycommands to generate and verify zero-knowledge proofs of correct generation of issuer private/public keypairs
- Clarify warning and suppress stacktrace in IRMA server log entry in case
/statuseventsis hit while SSE is disabled - Force Unix (LF) line endings in schemes during scheme signing for consistency
- Moved revocation commands from
irma issuer revocationto justirma issuer
0.6.1 - 2020-12-15
- Change endpoint to which IRMA server admin email address is sent and include IRMA server version number
- Bug that could cause schemes on disk to enter an inconsistent state, causing IRMA server to refuse to startup
- Nil deref during IRMA server startup in case local IP address failed to be determined
- Bug causing requestor scheme updating to fail
0.6.0 - 2020-10-20
- Support for "randomblind" attributes (if enabled in the scheme), for e.g. election use cases: attributes containing large random numbers issued in such a way that 1) the issuer does not learn their value while still providing a valid signature over the credential containing the attributes, and 2) the attribute value will be unequal to all previously issued randomblind attributes with overwhelming probability. Once issued, these attributes can be disclosed normally (i.e., only the issuance protocol is different for these attributes).
- Initial support (currently limited to issuing sessions) in
irmaclientfor "pretty verifier names": human-readable and translatable requestor names to show in the IRMA app during a session to identify the requestor, instead of just a hostname, defined in a new scheme type called "requestor schemes" (e.g. https://github.com/privacybydesign/pbdf-requestors)
- Renamed and refactored several (mostly internal) functions dealing with installing, parsing and updating schemes, to support both scheme types (normal schemes as well as requestor schemes)
irmaclientnow includes suggestions for non-singletons in the disclosure candidates during sessions, like it does for singletons not in the user's wallet
- Bug that would cause the IRMA server to log required values of attributes to be disclosed, when logging the session request
- Bug in
irmaclientleading to the wrong error message in case of bad internet connection
0.5.1 - 2020-09-17
- Switched to forks of
cobra,viper, andpflagso that depending packages don't requirereplacedirectives in their go.mod
0.5.0 - 2020-09-03
- Bug in scheme update mechanism leading to
UNKNOWN_PUBLIC_KEYerrors when new public keys have been added to the scheme - Several bugfixes in
irmaclient
0.5.0-rc.5 - 2020-08-11
- Support disabling scheme auto-updating in
irma session - Support revocation in
irma sessionandirma request
- Fixed bug in server configuration defaults when enabling production mode through config file
- Fixed bug that would kill server-sent events (SSE) connections after several seconds
- Fixed invalidation of local copy of index if local scheme is newer than the remote one
- Ignore absence of FAQ fields and category in credentialtypes during
irma scheme verify
- Abort issuance or disclosure in server and client in case of expired public keys
0.5.0-rc.4 - 2020-06-18
- Support for parallel sessions (e.g. issuance of missing credentials during a disclosure session) to
irmaclient
- Several minor bugs in
irmaclient
- The IRMA server now keeps issuer private keys in memory as short as possible
0.5.0-rc.3 - 2020-05-14
- Various additions to
irmaclientfor the new IRMA app, among others:- Several new fields in
irma.CredentialTypefor specifying e.g. help messages and card colors - Added developer mode enabling non-HTTPS connections to IRMA servers for local testing (see below)
- Several new fields in
- Problems with
--privkeysoption to IRMA server
irmacommand, IRMA server andirmaclientwill now enforce HTTPS for outgoing connections whenever possible- Update supported TLS ciphers and curves for IRMA server
- Fixed potential bug allowing MitM attacker to arbitrarily change installed schemes
- Fixed potential DoS attack in IRMA server endpoints (sending it large amounts of data or keeping connections open indefinitely)
0.5.0-rc.2 - 2020-04-21
- Revocation of previously issued credentials (see documentation)
- Support HTTP/2 in IRMA server and app
- Option
--skip-permission-keys-checkto IRMA server disabling checking that all required private keys are present in the server configuration
- Use go modules instead of
depfor tracking and locking dependencies
irmaserverHTTP handler returns 404 an 405 as JSON error messages as expected- Consistently use a docopt/git/aptitude like format for usage sections in help of
irmasubcommands - Incorrect default value of
--urlflag toirma sessionsubcommand - IRMA server no longer allows nonsensical wildcard usage in requestor permissions
irma issuer keygennow has default keylength 2048- Added various sanity checks to files and file paths
- Fixed potential scheme downgrade attack when installing/updating schemes in MitM scenarios
0.5.0-rc.1 - 2020-03-03
- Include
clientReturnURLin session request
- All (translated) names of issuers and credential types of demo schemes (i.e.
irma-demo) must now start withDemo irmaclientnow uses bbolt for storage- When the
irmaclientreceives a credential identical to another older one, the older one is overwritten - Scheme signing and verification now supports symlinks
- Unclear error message when the request's
Content-TypeHTTP header is not properly set - Unclear error message when non-optional attributes are missing in issuance request
- Scheme verification now ignores deprecated issuers and keys and ignores missing IssueURL tags in credential types
irma serverno longer crashes at startup if no network interfaces are available- Various bugs in
irma serverconfiguration
0.4.1 - 2019-10-15
- Renamed
irma sessionflag--authmethodto--auth-methodfor consistency with serverConfigurationstruct
- Fix bug that would prevent downloading of demo private keys of demo schemes on server startup and scheme updating
irma servernow respects thedisable_schemes_updateoption like theirmaserverlibrary (#63)- Other small fixes
0.4.0 - 2019-10-09
- New irma server feature: static (e.g. printable) QRs that start preconfigured sessions, see documentation
- irma server now returns attribute issuance time to the requestor after the session has finished
- Hopefully fix “unknown or expired session” errors that would sometimes occur in the IRMA app in bad network conditions
- Combined issuance-disclosure requests with two schemes one of which has a keyshare server now work as expected
- Various other bugfixes