Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Missing Constant Binding: How to Use RSA-PSS/SHA256 Signature Method #395

Copy link
Copy link
@raquelpanapalen

Description

@raquelpanapalen
Issue body actions

The constant corresponding to the C identifier xmlSecOpenSSLTransformRsaPssSha256Id is not exposed in xmlsec.constants in the current Python bindings.

This prevents the use of the RSA-PSS/SHA256 signature algorithm when using high-level utility functions like xmlsec.template.create(), which strictly require a __Transform object instead of a URI string.

To properly expose this constant, the following line should be added to the src/xmlsec/constants.c file within the transforms block, following the pattern of other transforms:

PYXMLSEC_ADD_TRANSFORM_CONSTANT(OpenSSLTransformRsaPssSha256, "RSA_PSS_SHA256");

This change enables users with the compiled binding to utilize:

from xmlsec.constants import OpenSSLTransformRsaPssSha256

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.