Skip to content

Commit

Permalink
also include the private key of the service (the one that corresponds…
Browse files Browse the repository at this point in the history
… to the public key included in the WIT) so we can extend the examples and folks playing along at home can use it too
  • Loading branch information
bc-pi committed Jun 10, 2024
1 parent 592c2ab commit 3e8700e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions draft-sheffer-wimse-s2s-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,16 @@ The claims indicate that the example WIT:
* has a unique identifier of `x-_1CTL2cca3CSE4cwb__`.
* binds the public key represented by the `jwk` confirmation method to the workload `wimse://example.com/specific-workload`.

For elucidative purposes only, the workload's key, including the private part, is shown below in JWK {{RFC7517}} format:

~~~ jwk
{
"kty":"OKP",
"crv":"Ed25519",
"x":"_amRC3YrYbHhH1RtYrL8cSmTDMhYtOUTG78cGTR5ezk",
"d":"G4lGAYFtFq5rwyjlgSIRznIoCF7MtKDHByyUUZCqLiA"
}
~~~

The afore-exampled WIT is signed with the private key of the Identity Server.
The public key(s) of the Identity Server need to be known to all workloads in order to verify the signature of the WIT.
Expand Down

0 comments on commit 3e8700e

Please sign in to comment.