Skip to content

Conversation

@thomas-fossati
Copy link
Contributor

Adjust CCA token templates and regenerate demo files

@@ -1,5 +1,6 @@
{
"cca-platform-token": {
"cca-platform-challenge": "5QHHS9edCpI1N1heeR7DUBI+gaqXUB34EkQCITSCxVM=",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought the idea with the claims in CCA Platform, was to not set the challenge here, but to calculate using Hash of Realm Public Key using the hash algorithm specified in the token, isn't it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this is effectively redundant. The value is what would be computed anyway by ccatoken.Evidence.bind(). I set it while experimenting a bit. It can be left in or removed; it makes no difference.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the clarification, i think, it is more clear to the reader, it sends more correct message, if we do not hard code it here, so I suggest we remove it! Rest all changes LGTM!

Copy link
Collaborator

@yogeshbdeshpande yogeshbdeshpande left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a question!

Copy link
Collaborator

@yogeshbdeshpande yogeshbdeshpande left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see minor nit!

@@ -1,5 +1,6 @@
{
"cca-platform-token": {
"cca-platform-challenge": "5QHHS9edCpI1N1heeR7DUBI+gaqXUB34EkQCITSCxVM=",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the clarification, i think, it is more clear to the reader, it sends more correct message, if we do not hard code it here, so I suggest we remove it! Rest all changes LGTM!

@thomas-fossati thomas-fossati merged commit a3fe7b3 into main Dec 15, 2025
9 checks passed
@thomas-fossati thomas-fossati deleted the e2e-fix branch December 15, 2025 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants