Skip to content

Decryption error on incoming credential #16

@Didr

Description

@Didr

Steps to reproduce (all with wwWallet reference issuer):

  1. Issue a PID
  2. Issue a Bachelor Diploma
  3. As you return to the wallet as the diploma is issued, the frontend breaks apart with the following error:
index-qm0yaUzi.js:79642 JWEDecryptionFailed: decryption operation failed
    at gcmDecrypt$1 (index-qm0yaUzi.js:21525:11)
    at async flattenedDecrypt$1 (index-qm0yaUzi.js:22529:19)
    at async compactDecrypt$1 (index-qm0yaUzi.js:22566:21)
    at async decryptPrivateData (index-qm0yaUzi.js:78280:14)
    at async openPrivateData (index-qm0yaUzi.js:78129:29)
    at async index-qm0yaUzi.js:79640:14
(anonymous) @ index-qm0yaUzi.js:79642Understand this error
index-qm0yaUzi.js:79643 Navigating to login-state to handle JWE decryption failure
index-qm0yaUzi.js:17763 Database initialized successfully
index-qm0yaUzi.js:111284 Database initialized
index-qm0yaUzi.js:79761 Uncaught (in promise) TypeError: object null is not iterable (cannot read property Symbol(Symbol.iterator))
    at index-qm0yaUzi.js:79761:32
  1. Notice how the usage counter of the PID is now 0
  2. Try issuing another bachelor diploma and notice how it succeeds

This is mostly a note to self right now. I'll add more info when I get the public instance running.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions