Commit Graph

59 Commits (master)

Author SHA1 Message Date
Andras Fekete 4c2f96ff64 Clean up wolfSSL path variable name 2024-04-04 13:28:23 -04:00
Eric Blankenhorn 20d13d8526 Fix up readme and build issues in certgen examples 2024-03-13 14:16:06 -05:00
tim-weller-wolfssl 013a6da63d Phase 1 updates to wolfSSL examples based on testing with wolfSSL
release v5.5.4-stable.  Changes include minor build fixes and README
updates.
2023-03-25 09:15:11 -05:00
David Garske a363898fbc
Merge pull request #340 from JacobBarthelmeh/pkcs12
adding use of devid to pkcs12 example
2023-01-09 16:13:23 -08:00
Jacob Barthelmeh cfffdd9ec8 set correct csr version in example 2022-12-01 16:49:46 -07:00
JacobBarthelmeh 401d467506 adding use of devid to pkcs12 example 2022-10-07 14:44:27 -07:00
David Garske b2c0ca21da Various improvements to crypto callbacks. 2022-04-22 15:59:45 -07:00
David Garske b9b157d9ef Fix for crypto callback not returning `CRYPTOCB_UNAVAILABLE`, which caused an invalid hash to be used for CSR signing. ZD 13949. 2022-04-05 12:50:34 -07:00
David Garske da6e5dee6b
Merge pull request #309 from anhu/too_much
Get rid of some garbage prefixed to output.
2022-03-25 11:32:54 -07:00
Anthony Hu 9e4fd5270b Get rid of some garbage prefixed to output. 2022-03-25 14:13:57 -04:00
David Garske 9703627d63 Fix typo in certgen/README.md 2022-03-25 10:33:52 -07:00
Anthony Hu 1dff867c6d Instructions in the README.md 2022-03-04 16:52:49 -05:00
Anthony Hu 51cfd2d2a0 Address review comments by dgarske. 2022-03-03 11:36:12 -05:00
Anthony Hu 2dca4875e7 Revert back to word16 API. 2022-03-03 10:41:54 -05:00
Anthony Hu 0b1795e00a Changes due to API change. 2022-03-02 17:45:26 -05:00
Anthony Hu 488c018c8f Makefile 2022-03-02 15:25:57 -05:00
Anthony Hu 6da4ce41a5 Example for injecting custom extensions 2022-03-02 15:21:20 -05:00
Anthony Hu d7db324862 Example for parsing of custom extensions in X.509 certificates. 2022-02-28 16:43:50 -05:00
David Garske d34e89053c Line length 2022-02-24 11:32:29 -08:00
David Garske d646f7a816 Further peer review improvements for documentation. 2022-02-24 11:30:44 -08:00
David Garske 45a13e1491 Improvements based on peer review. Added section in README.md. 2022-02-23 15:59:17 -08:00
David Garske 042956c74b CSR example using crypto callbacks (HSM). 2022-02-23 13:40:45 -08:00
Anthony Hu e94951119a This isn't csr generation, its certificate generation. 2022-02-18 13:17:55 -05:00
Anthony Hu 15b38449d4 Get rid of unused variable. 2022-02-16 15:27:03 -05:00
David Garske 0ce48b6028 Cleanup non ECC cases. 2021-11-29 14:34:44 -08:00
David Garske f304069438 Fixes for building without ECC enabled. Updated examples and remove duplicate with_altnames and combined into existing example. 2021-11-29 13:29:26 -08:00
David Garske 7212062235 Fixes issue with uninitialized `caKey` found with valgrind reported in ZD 13212. 2021-11-29 07:10:35 -08:00
David Garske dfd8a09c19 Fixes to get csr_sign working correctly. Currently only supports ECC, but could be easily adopted for RSA or ED25519. 2021-11-18 22:10:10 -08:00
David Garske bde4231cb3 Improvements to CSR examples.
* Add ed25519 support to csr_example.
* Added example for signing a CSR using a CA.
* Cleanup the csrgen_example.
2021-11-17 17:08:58 -08:00
Anthony Hu bb753dc179 Comment fixup for csr_example.c 2021-10-18 10:11:06 -04:00
Kaleb Himes 59e50a6a09
Merge pull request #265 from lealem47/nightly-CDT-Fixes
Getting files to run and pass nightly-CDT test
2021-07-06 17:46:14 -05:00
Lealem Amedie c8d596269d Getting files to run and pass nightly-CDT test 2021-07-06 13:57:19 -06:00
Lealem Amedie 7032e3d457 removing depreciated void 2021-06-30 10:07:29 -06:00
Lealem Amedie be264f0511 Adding documentation where needed. Made changes to code to assure files build and implement good coding practices 2021-06-29 16:02:52 -06:00
kaleb-himes 80295cedf4 Fixes warnings thrown by csr_w_ed25519_example.c 2021-06-29 14:47:25 -06:00
David Garske 5ba15f1426 Spelling fixes. 2021-06-09 09:07:40 -07:00
kaleb-himes 8c0d3e9270 Add a sample of IP address as opposed to DNS Name only 2020-06-25 13:19:42 -06:00
kaleb-himes fdd09aa1b7 name certs reflecting PK used, update examples w/ new names 2020-06-03 14:44:52 -06:00
kaleb-himes 33a16547a7 Fix a comment typo 2020-06-02 15:01:54 -06:00
kaleb-himes 8175e9da8b correct logic in PP check 2020-05-08 16:00:55 -06:00
Kaleb Himes 6466c9bda3
Fix a comment 2020-05-07 15:39:27 -06:00
kaleb-himes 2c14954fa1 Example of setting alt names with crafted ASN.1 string 2020-05-07 15:30:33 -06:00
Chris Conlon 9237d307b5 update copyright to 2020 2020-01-03 16:08:42 -08:00
kaleb-himes 6a8906d86b Remove unused enums 2019-07-23 11:52:47 -06:00
kaleb-himes 04d5a505b4 Extend CSR example to include RSA option 2019-07-23 11:51:04 -06:00
David Garske 4a9031a93a
Merge pull request #135 from kaleb-himes/ed25519-csr-example
add ed25519 certificate signing request example
2019-04-30 13:13:54 -07:00
Kaleb Himes 8c52551a7a
Update Makefile 2019-04-30 13:49:38 -06:00
kaleb-himes 746104bd37 Last review item, add keygen to build instructions 2019-04-30 13:24:16 -06:00
kaleb-himes e0108ed42f address review items 2019-04-30 13:19:53 -06:00
David Garske bb06f661fe Fixes for nightly Jenkins reports (pass 1). 2019-03-26 10:27:25 -07:00