-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(connector-fabric): support for FabricSigningCredentialType.WsX509
A secure identity provider based on web-sockets and the we WS.X-509 identity credential Allow a fabric app to securely connect to a users external keystore client. Requires: - brioux/ws-wallet as a prototype crypto wallet to setup the WS-X.509 identity - brioux/ws-identity server generates new session tickets for the target Fabric app and handles connection authentication and communication with ws-wallet client * brioux/ws-identity-client package for calls from ws-wallet or fabric connector to ws-identity Behaviour: - Fabric app requests session ticket from ws-identity referencing target user's public address (hex) - Ticket is sent to user's ws-wallet for signing. Provide Session ID and its signature as API tokens - ws-wallet passes API tokens to ws-identity server for authentication and to open web-socket - User provides API tokens to authorize Fabric app to send signature requests to ws-wallet Note two API tokens are required: 1. Unique Session ID requested by Fabric APP 2. Signature verifying ownership of the public address referenced by the Session ID The signature is not stored by the ws-identity server after authentication Session ID points to the active web-socket required by the Fabric APP to generate or use an enrolled WS-X.509 identity credential. Using image ghcr.io/brioux/ws-identity:0.0.1 for testing Dont forget to bump ws-wallet dev dependency when updating Signed-off-by: brioux <Bertrand.rioux@gmail.com>
- Loading branch information
Showing
17 changed files
with
939 additions
and
30 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,7 @@ | |
"authzn", | ||
"Besu", | ||
"Bools", | ||
"brioux", | ||
"cafile", | ||
"caio", | ||
"cccs", | ||
|
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
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
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
Oops, something went wrong.