Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement PKCS7_verify, update PKCS7_sign
PKCS7_dataInit and PKCS7_dataFinal compile with some caveats Fix build, disable some tests Minor fixups and stubs to let ruby tests run against PKCS7 work Add PKCS7_encrypt/decrypt functions, no compile Imported remaining encrypt/decrypt code, tests run All (hopefully) required PKCS7_verify code added, tests running 6 fail Rebase fixups Fixed parsing errors, adjust test patch with note - [indefinite (original)][1] - [definite (post-patch)][2] [1]: https://lapo.it/asn1js/#MIIDawYJKoZIhvcNAQcDoIIDXDCCA1gCAQAxggEQMIIBDAIBADB1MHAxEDAOBgNVBAoMB2V4YW1wbGUxFzAVBgNVBAMMDlRBUk1BQyBST09UIENBMSIwIAYJKoZIhvcNAQkBFhNzb21lb25lQGV4YW1wbGUub3JnMQswCQYDVQQGEwJVUzESMBAGA1UEBwwJVG93biBIYWxsAgFmMA0GCSqGSIb3DQEBAQUABIGAbKV17HvGYRtRRBNz1QLpW763UedhVj5KXi70o4BJGM04lItAgt6aFC9SruZjpWr1gCYKCaRSAg273DeGTQwsDoZ86CPXzBpptYLz0MteQXYYWUaPZT-xmvx4NgDyk9P9MoT7JifsPrtXuzqCRFXhGdu8d_ru-OWxhHLvKH-bYekwggI9BgkqhkiG9w0BBwEwFAYIKoZIhvcNAwcECBNs2U5mMsd_gIICGFOnLq_EAc9Nv-HjKR3ZVPSJMq0TImjGf5Mvc3nDgI572Hdo2aku0YXM6WjSWkpYtxpg7Cqxfl6hPSefLPUnBqlIoM2qbrE7MSKEVD6-2bW9GqYPFVg4qQLLsOxnxJIMfOvLFfd7guL-iLH424XfiUUxaf8EdZE4u2IEl4REvkS1FoEGwyA4BEGMSeVPedQCbZ0qY7Pc2tmZE3XfEUhIsyStG0Nb6i6AKcAFYGapbgE6kAB0gwsYcHlWMOvsvdAfcTq6jwtHlO1s68qtvkWquTQ9lpX-fzddUUNxEHSqv5eU3oo6fT3Vj5ZFIVlaA5ThZMrI5PgRPuwJM4GL8_VLwY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W4BOpAAdIMLGHB5VjDr7L3QH3E6uo8LR5TtbOvKrb5Fqrk0PZaV_n83XVFDcRB0qr-XlN6KOn091Y-WRSFZWgOU4WTKyOT4ET7sCTOBi_P1S8GOZmwyxap_4qxnhLz_fSd0vO6K5yy7p46cUstfwMpnFXqdh99k4_NlkvyEUFwTs8-BJ0ESRrMysQFerWPmY3t7Fsk04Dm4ZbIk0Ew4J77UlvEb1R6iq8IJMcRLER4O7vFHc2dI4PjuftxfAevzVjMrbNDmhak_cLyPMju1SMt3VLRnc-x3XuhoKf4k59S24HSdzfB88X9Y-jTFlCh1bGnb8KUSW1HqqvXN_kLsbCYvMFnpscUAhPrT8nNXT_no-fzO2xEW0jhzBoF9N--fCLz-wP38tg4xj79vpQMJRJHtFM3td-u0CoMTNJ3N0mQ5abWO8zyCQubGll2_Ebdm8NicRATk2r66fmcCfLXB_etaJ6sECMTme2ICaCzk Passing all self-imposed unit tests! Fix digest test case, down to 3 failing ruby tests (SMIME failure expected) Fix encrypt/decrypt, new test passes Skip SMIME ruby test Added auth test, cert/signature verification still failing Fix auth test, but need to implement default non-detached sign for ruby test Root and leaf use different keys in tests Signed test tests non-detached, fix sign init bug Fix detached signing cleanup, all ruby tests pass! Some updates pursuant to PR 1816 DELETEME: temporarily skip some tests Bring in prior PR changes, fix sign tests
- Loading branch information