release-2024-08-30: Allow dapp to auto-select last used identities on re-authentication
This is Internet Identity release release-2024-08-30 for commit fd5486afabb4e0eead403f771d63d8752f95ab17.
The main change of this release is a new feature that allows dapps to streamline re-authentication: Dapps may supply a principal to Internet Identity when sending the authorize-client
message. If that principal belongs to the last used identity on that client application origin, then the identity will be selected automatically. The user will then be presented with the passkey interaction immediately, making the actual authentication the only user interaction required to complete the re-authentication process.
The sha256 of production asset internet_identity_production.wasm.gz is 9ea1df5ffd63367080ee1bc342eeff47a020da280845612b47aba5afc6cb3fe1.
What's Changed
- Update release in README by @gix-bot in #2565
- Update node version by @gix-bot in #2566
- Migrate integration tests to PocketIC by @frederikrothenberger in #2557
- Remove obsolete IC commit file by @frederikrothenberger in #2568
- Simplify identity metadata repository by @frederikrothenberger in #2567
- fix: broken link in II spec by @jessiemongeon1 in #2569
- Implement API to auto-select identity based on known principal by @frederikrothenberger in #2563
- Move sig-verifier-js tests out of e2e by @frederikrothenberger in #2571
- Bump outdated github script action by @frederikrothenberger in #2572
- Replace login error page with toast by @frederikrothenberger in #2570
- Move and fix dapps explorer by @lmuntaner in #2573
- Extract error toast from authn box by @frederikrothenberger in #2574
- Fix errors in the alternative origins documentation by @frederikrothenberger in #2575
- Remove unnecessary dependency by @lmuntaner in #2577
- Separate principal and origin information in IndexedDB storage by @frederikrothenberger in #2578
- Only allow the most recently used identity to be auto-selected by @frederikrothenberger in #2579
Full Changelog: release-2024-08-21...release-2024-08-30
Build flavors
For more information please see the Build flavors section of the README.
Wasm Verification
To build the wasm modules yourself and verify their hashes, run the following commands from the root of the Internet Identity repository:
git pull # to ensure you have the latest changes.
git checkout fd5486afabb4e0eead403f771d63d8752f95ab17
./scripts/verify-hash --ii-hash 9ea1df5ffd63367080ee1bc342eeff47a020da280845612b47aba5afc6cb3fe1
Make sure to compare the hashes also with the proposal payload when verifying canister upgrade proposals.