Skip to content

Fix tests and refactor logic to improve URL escaping of the link in the verification email - #20

Merged
vharseko merged 1 commit into
OpenIdentityPlatform:masterfrom
lscorcia:issue-272-v2
Apr 8, 2020
Merged

vharseko merged 1 commit into
OpenIdentityPlatform:masterfrom
lscorcia:issue-272-v2

Conversation

@lscorcia

@lscorcia lscorcia commented Apr 7, 2020

Copy link
Copy Markdown
Contributor

Fixes the build issue with the previous commit and makes the verification email code more robust about URL escaping. Sorry for my previous error.

@vharseko
vharseko merged commit 0388d67 into OpenIdentityPlatform:master Apr 8, 2020
@lscorcia
lscorcia deleted the issue-272-v2 branch April 8, 2020 13:29
vharseko added a commit that referenced this pull request Jul 16, 2026
…a/insufficient-key-size) (#200)

RsaJWKTest and JsonCryptoTest generated ephemeral RSA key pairs with a
1024-bit modulus, which CodeQL flags as below the recommended 2048-bit
minimum (CWE-326). The keys are throwaway test fixtures with no production
impact, but bumping them to 2048 bits removes the finding and keeps the
test crypto aligned with current best practice.

The tests assert round-trip properties (modulus/exponent, JWK encode/decode,
encrypt/decrypt) that are independent of key size, so they pass unchanged.

Fixes code-scanning alerts #17, #18, #19, #20.
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.

2 participants