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

[MS-OAPXBC] Session key derivation #20

Closed
wants to merge 2 commits into from

Conversation

dmulder
Copy link
Collaborator

@dmulder dmulder commented Feb 1, 2024

Implements # .

  • cargo fmt has been run
  • cargo test has been run and passes
  • documentation has been updated with relevant examples (if relevant)

@dmulder dmulder requested a review from Firstyear February 1, 2024 20:36
As explained in [MS-OAPXBC] 3.1.5.1.3.3. The
decryption algorithm is incorrect in the Jwe
header when the response is a PrtV2, and instead
should be decrypted with aes_256_cbc. This is not
documented by Microsoft, but has just been
observed in practice.

Signed-off-by: David Mulder <[email protected]>
@dmulder dmulder force-pushed the dmulder/session_key_derivation branch from 428b190 to 2ef33bf Compare February 2, 2024 17:15
@dmulder
Copy link
Collaborator Author

dmulder commented Feb 2, 2024

Well, I found a different way to request the access token, and this time it works! So, I don't actually need this stuff now (because MS is returning the response un-encrypted). Might need it later.

@Firstyear Firstyear mentioned this pull request Feb 6, 2024
1 task
@Firstyear Firstyear closed this Feb 6, 2024
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