8 Commits

Author SHA1 Message Date
Steven Clark
d9aa82470e
Add digest OID to PKCS7/SCEP digest failure logs (#31232)
* Add digest OID to PKCS7/SCEP digest failure logs

 - To help debugging in the future without requiring a full packet capture
   lets add the digest oid that we used to select the hashing algorithm that
   led to the digmest mismatch

* Add cl

* Fix type in CL header
2025-07-09 10:54:12 -04:00
Steven Clark
1551d6943e
Add fixes for processing InTune SCEP messages within our PKCS7 library (#30595) 2025-05-14 08:25:15 -04:00
Steven Clark
426088ddfb
Fix race within pkcs7.asn1Structured.EncodeTo (#30162)
- The function was incrementing and decrementing a global variable
   but was never used so remove it completely and all the commented
   out code that references the encodeIndent global.
2025-04-02 17:05:02 -04:00
Steven Clark
ce8094fb6c
Add underlining support for the PKI Enterprise SCEP work (#29604) 2025-02-13 15:54:18 +00:00
Steven Clark
64316fa084
Fix PKCS7 parser failing to parse degenerated certificate messages (#27435)
* Fix PKCS7 parser failing to parse degenerated certificate messages

* Add cl
2024-06-11 12:57:54 -04:00
Josh Black
fa13dbd381
add gosimport to make fmt and run it (#25383)
* add gosimport to make fmt and run it

* move installation to tools.sh

* correct weird spacing issue

* Update Makefile

Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>

* fix a weird issue

---------

Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>
2024-02-13 14:07:02 -08:00
John-Michael Faircloth
3fffae9452
pkcs7: fix slice out-of-bounds panic (#24891)
* pkcs7: fix slice out-of-bounds panic

* changelog

* fix tests

* add test case to capture panic; found in fuzzing

* add fuzz test
2024-01-17 10:12:00 -06:00
Steven Clark
610c8a4d38
Move Vault's customized pkcs7 fork into a shared location (#24658)
- The PKI plugin needs to use the customized pkcs7 fork
   so move it out from the aws credential plugin's package
   into a shared location
2024-01-03 12:11:44 -05:00