TimothyClaeys / pycose

A Python implementation of the COSE specification (CBOR Object Signing and Encryption) described in RFC 8152.
https://tools.ietf.org/html/rfc8152
Other
39 stars 24 forks source link

Rename keyword holding encoded `Enc_structure` to `aad` #106

Closed letmaik closed 1 year ago

letmaik commented 1 year ago

From https://github.com/TimothyClaeys/pycose/issues/78#issuecomment-1304654018.

This follows text from the RFC:

  1. Encode the Enc_structure to a byte stream (Additional Authenticated Data (AAD)) ...
  2. Call the encryption algorithm with K (the encryption key), P (the plaintext), and AAD.

Note that there is no public API yet to implement new encryption algorithms outside of pycose, otherwise this would be a breaking change.

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 5 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication