Skip to content

v0.14.0

Compare
Choose a tag to compare
@ivard ivard released this 02 Oct 09:55
· 109 commits to master since this release
2830249

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.

Added

  • Option skipExpiryCheck in disclosure requests to allow disclosure of expired credentials (e.g. "skipExpiryCheck": ["irma-demo.sidn-pbdf.email"])
  • Option host in session request to overrule host name in IRMA QR if permission has been granted (see below)
    {
      "@context": "https://irma.app/ld/request/disclosure/v2",
      "host": "irma.example.com",
      "disclose": ...
    }
    
    This leads to the following session package:
    {
      "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_perms in the requestor configuration to specify which values a requestor may use for the host option 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

Changed

  • KeyshareVerifyPin function 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

Fixed

  • User account expiry continues when one or more e-mail addresses are marked for revalidation