XML-Security / XML-Security/signxml

How to add <X509SubjectName> tag in <X509Data> in KeyInfo?

Open
#176 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
154
Forks
113
PR merge metrics
No merged PRs in 30d

Description

As of now, when I use sign method, I get the xml output as

<ds:KeyInfo>
   <ds:X509Data>
	<ds:X509Certificate></ds:X509Certificate>
   </ds:X509Data>
</ds:KeyInfo>

I want output as

<ds:KeyInfo>
   <ds:X509Data>
        <ds:X509SubjectName></ds:X509SubjectName>
	<ds:X509Certificate></ds:X509Certificate>
   </ds:X509Data>
</ds:KeyInfo>

Is this possible in the current version of library?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the sign method and its KeyInfo/X509Data generation to determine whether X509SubjectName is supported in the current library version. Done means providing a confirmed answer about support or defining the required feature and its expected XML output.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.