-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DRAFT Pkcs7 nondetached #7054
base: development
Are you sure you want to change the base?
DRAFT Pkcs7 nondetached #7054
Commits on Dec 6, 2022
-
pkcs7: check that content lengths fill whole buffer
Otherwise invalid data could be accepted. Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 03262c4 - Browse repository at this point
Copy the full SHA 03262c4View commit details -
No change in behavior Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b9e8707 - Browse repository at this point
Copy the full SHA b9e8707View commit details -
This adds more code, but the newer code is easier to understand. Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 27758fa - Browse repository at this point
Copy the full SHA 27758faView commit details -
Check for junk after SignedData
There must not be any. Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5c63f00 - Browse repository at this point
Copy the full SHA 5c63f00View commit details -
No change in behavior. Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e0b6fb9 - Browse repository at this point
Copy the full SHA e0b6fb9View commit details -
Avoid returning MBEDTLS_ERR_BAD_INPUT_DATA for unsupported content
MBEDTLS_ERR_BAD_INPUT_DATA indicates a bug in the caller, such as passing NULL to an interface that doesn't accept it. It should not be used for an unsupported type of content. Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6c33088 - Browse repository at this point
Copy the full SHA 6c33088View commit details -
pkcs7: make signed data available to callers
This makes the SignedData available to callers. Previously, it was ignored. Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e4fdddc - Browse repository at this point
Copy the full SHA e4fdddcView commit details -
pkcs7: support signatures with internal data
A CMS signature can have internal data. Provide a function for verifying this data, and check that it is absent when verifying detached signatures. Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3038516 - Browse repository at this point
Copy the full SHA 3038516View commit details