8000 invalid rsaPSS format · Issue #9 · cryptlib/cryptlib · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
invalid rsaPSS format #9
Open
Open
@mgerber

Description

@mgerber

A file is signed with the following parameters: CRYPT_ALGO_SHA256 and CRYPT_PKC_FORMAT_PSS. As expected, the generated CMS contains the DigestAlgorithm SHA256 and the SignatureAlgorithm rsaPSS (1 2 840 113549 1 1 10) in SignerInfo. However, the cmsAlgorithmProtection (1 2 840 113549 1 9 52) contains the SignatureAlgorithm rsaEncryption (1 2 840 113549 1 1 1). According to RFC6211, the SignatureAlgorithm must be a copy of SignerInfo, in this case rsaPSS.
Checking signatures with correct cmsAlgorithmProtection also fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0