Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify public key format and add tests #144

Merged
merged 2 commits into from
Jan 18, 2023

Conversation

burgerdev
Copy link
Collaborator

commit da09fec (HEAD -> public-key-format, burgerdev/public-key-format)
Author: Markus Rudy markusrudy@google.com
Date: Mon Jan 16 16:29:24 2023 +0100

Test all supported config file keys

Introduce a new config file only for testing so that we can add a public
key to it without adding it to the file that is packaged/installed.

commit 82d3e66
Author: Markus Rudy markusrudy@google.com
Date: Mon Jan 16 13:58:06 2023 +0100

Clarify format of public key at rest

The public key format specified in RFD002 mandated standard
Base64-encoding, but the implementation uses URL-safe Base64. We want to
use the URL-safe format to be consistent with the challenge encoding.

This also introduces a dedicated test for the login module.

The public key format specified in RFD002 mandated standard
Base64-encoding, but the implementation uses URL-safe Base64. We want to
use the URL-safe format to be consistent with the challenge encoding.

This also introduces a dedicated test for the login module.
Introduce a new config file only for testing so that we can add a public
key to it without adding it to the file that is packaged/installed.
@burgerdev burgerdev requested a review from vvidic January 16, 2023 16:04
@burgerdev burgerdev merged commit 1cbac4c into google:master Jan 18, 2023
@burgerdev burgerdev deleted the public-key-format branch January 18, 2023 08:28
burgerdev added a commit to burgerdev/glome that referenced this pull request Jan 18, 2023
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.

None yet

2 participants