-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When the "new" domains (icp0.io & internetcomputer.org) were introduced, a workaround was implemented in II to ensure that dapps would see the same principals regardless on whether they are using CANISTER.ic0.app or CANISTER.icp0.io. This workaround was implemented for fetching the derivation, but actually needs to be applied to all operations deriving a principal from an identity number/origin pair. This change makes sure that all calls perform the remapping, including `get_principal` (which will be used in Verifiable Credentials).
- Loading branch information
Showing
2 changed files
with
33 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters