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

WSSecurityCert KeyInfo tag wrapped around SecurityTokenReference #1255

Merged
merged 2 commits into from
Sep 18, 2024

Conversation

somdeepjana
Copy link
Contributor

WSSecurityCert <wsse:SecurityTokenReference> tag should be wrapped inside <KeyInfo> tag.

reference: https://docs.oasis-open.org/wss/v1.1/wss-v1.1-spec-pr-x509TokenProfile-01.htm

<wsse:Security>
  <ds:Signature>
  
    <ds:SignedInfo>...</ds:SignedInfo>
    <ds:SignatureValue>...</ds:SignatureValue>

    <ds:KeyInfo Id="keyinfo"> <---------------------------- This tag was missing

       <wsse:SecurityTokenReference>...</wsse:SecurityTokenReference>
    </ds:KeyInfo>

  </ds:Signature>
</wsse:Security>

src/security/WSSecurityCert.ts Outdated Show resolved Hide resolved
src/security/WSSecurityCert.ts Outdated Show resolved Hide resolved
test/security/WSSecurityCert.js Outdated Show resolved Hide resolved
@w666 w666 merged commit 9c3822b into vpulim:master Sep 18, 2024
1 check passed
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