gchq / gchq/CyberChef

Feature request: PKCS#7 Signature Verification with Binary authenticatedAttribute: Input Format

Open
#1,930 0 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
JavaScript
Stars
35.8k
Forks
4.1k
Avg merge
2d 26m
Merged PRs (30d)
33

Description

I am signing a PKCS#7 signature using the RSA algorithm. The `authenticatedAttribute` within the `SignerInfo` structure is an ASN.1 structure, so it is signed as binary data.

To verify this signature, I need to provide the message as binary input. However, I'm unsure about the correct way to input the binary data for verification.

Is there a specific method or format for providing binary input when verifying a PKCS#7 signature with an ASN.1 structured `authenticatedAttribute`?

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points; first locate CyberChef's PKCS#7 signature verification operation and its handling of authenticatedAttribute input. Determine the supported binary input format and document or implement a way to provide it, with verification of an ASN.1 structured authenticatedAttribute as the completion criterion.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cryptography
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.