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

Hardcoded algorithm in Listing 6.3 #24

Open
SpecLad opened this issue Sep 22, 2024 · 0 comments
Open

Hardcoded algorithm in Listing 6.3 #24

SpecLad opened this issue Sep 22, 2024 · 0 comments

Comments

@SpecLad
Copy link

SpecLad commented Sep 22, 2024

In Listing 6.3, there's a line that goes:

var header = new JWSHeader(JWSAlgorithm.HS256);

Presumably, this should instead be:

var header = new JWSHeader(algorithm);

since the algorithm is supposed to be passed as a constructor parameter.

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

No branches or pull requests

1 participant