Commit Graph

1177 Commits (0cd21b53c48e9e4aa05652fe20badcc4883c7f33)

Author SHA1 Message Date
David Garske 0cd21b53c4
Merge pull request #409 from aidangarske/keygen_opKeyAuth
Keygen Optional Authentication Password -auth=<yourpassword>
2025-03-28 14:45:35 -07:00
aidan garske 8e03c40fba removed test, only needs to be tested when actually used in wolfTPM 2025-03-28 14:31:00 -07:00
aidan garske 688ce722d3 Fix typo - default is used.. 2025-03-28 13:57:21 -07:00
aidan garske f10a27bb47 Add keygen test for AIK and defualt 2025-03-28 13:29:43 -07:00
aidan garske 942bbe7f03 removed testing 2025-03-28 13:22:52 -07:00
aidan garske 50c5f10277 Added keygen optional authentication password -auth=<yourpassword> 2025-03-28 12:50:22 -07:00
David Garske 122885adc9
Merge pull request #408 from tmael/asn_parse
correct ASN.1 cert parsing
2025-03-27 15:01:35 -07:00
Tesfa Mael fbcca8d1ba correct ASN.1 cert parsing 2025-03-27 12:31:27 -07:00
Eric Blankenhorn c99619df16
Merge pull request #407 from dgarske/fixes-20250306
Various: Cleanup for public area copy and added cmake provisioning option
2025-03-19 13:10:52 -05:00
David Garske fe5b575039
Merge pull request #406 from night1rider/SelfSigned_Bug
Self Signed CA always set to version 1
2025-03-06 16:02:45 -08:00
night1rider 250fa3923f Revert setting version in CSR Init, and Version Change to MakeAndSign_ex 2025-03-06 16:49:13 -07:00
David Garske a83f2f89d4 Cleanup to replace memcpy with public area copy function. Add CMake provisioning option (`WOLFTPM_PROVISIONING`) to match configure. 2025-03-06 13:55:14 -08:00
msi-debian 69aaa20b1a Initial Fix 2025-03-06 12:29:13 -07:00
David Garske a6e54ccf93
Merge pull request #404 from tmael/asn
Refactor ASN.1 parsing for RSA cert
2025-03-06 10:30:49 -08:00
Tesfa Mael 7400f0f369 Review comment 2025-03-05 11:52:53 -08:00
Tesfa Mael ceb2c224d6 Update CMakeLists and move WOLFTPM2_NO_ASN down 2025-03-04 18:55:41 -08:00
Tesfa Mael bb5eeb8976 Add WOLFTPM2_NO_ASN and move doc to a header file 2025-03-04 14:09:46 -08:00
Tesfa Mael 63385223ca Refactor ASN.1 parsing for RSA cert 2025-03-03 11:31:43 -08:00
tmael 0a463b3254
Merge pull request #401 from dgarske/cleanups
Various cleanups to tests and documentation
2025-02-26 15:06:41 -08:00
David Garske fc6beabd1a Fix issue with `wolfTPM2_Init_ex` handling of TPM2_Startup TPM_RC_INITIALIZE. 2025-02-25 16:48:47 -08:00
David Garske 2df0af5130 Added missing doxygen to public API's. 2025-02-21 17:12:31 -08:00
David Garske 00749ad551 Fix run_examples.sh run.out location variable. 2025-02-21 16:53:23 -08:00
tmael dd57324735
Merge pull request #394 from dgarske/ek_verify
EK Cert Verification (no wolfCrypt)
2025-01-28 10:41:26 -08:00
David Garske c42fff4f7f EK Cert Verification with TPM only (no wolfCrypt). Example assumes ST33KTPM2X. `./configure --disable-wolfcrypt && make && ./examples/endorsement/verify_ek_cert` 2025-01-24 09:54:11 -08:00
Daniel Pouzzner ea7cf136ca
Merge pull request #396 from dgarske/autogen
Cleanups for autogen.sh
2025-01-23 11:40:54 -06:00
David Garske c96ffb9ad1 Cleanups for autogen.sh. 2025-01-07 13:41:37 -08:00
Daniel Pouzzner bcf2647ebc
Merge pull request #393 from dgarske/rel_v3.8.0_prep
wolfTPM Release v3.8.0 prep
2025-01-07 15:26:26 -06:00
David Garske 2069ed7976 Fixes for scan-build and g++ warnings. 2025-01-07 10:47:26 -08:00
David Garske 5bd553a6a3 wolfTPM v3.8.0 release. 2025-01-06 11:46:49 -08:00
David Garske 272eb68340 Update CMake examples. 2025-01-06 11:45:35 -08:00
David Garske 703b7285fb
Merge pull request #340 from philljj/iocb_microchipharmony_i2c
Iocb microchipharmony i2c
2025-01-06 11:44:51 -08:00
jordan a2fede312f microchip iocb: spelling cleanup. 2025-01-06 13:36:51 -05:00
jordan eb079ee22a Implementation for TPM2_IoCb_MicrochipHarmony_I2C. 2025-01-06 12:29:57 -05:00
David Garske 6e1205b1e1 Fix for possible missing `wc_GetPkcs8TraditionalOffset`. 2025-01-03 00:16:49 +01:00
David Garske 409ec70e0e Improve TPM NV write debug logging (show before). 2025-01-03 00:16:49 +01:00
David Garske 6de582c38a Fix spelling and update list of supported TPM's. 2025-01-03 00:16:49 +01:00
Eric Blankenhorn 80da56728c
Merge pull request #389 from dgarske/nv_extend
Fix issue with session binding / add NV extend example
2024-12-17 17:00:58 -06:00
Eric Blankenhorn cb645d3a21
Merge pull request #390 from dgarske/oldcrypt
Support for building wolfTPM against older wolfCrypt (like v4.7.0)
2024-12-17 17:00:50 -06:00
Eric Blankenhorn 415f714c66
Merge pull request #391 from dgarske/tpmclear
Create separate tool for performing the TPM2_Clear
2024-12-17 17:00:42 -06:00
David Garske 15add23dcf Add code for calculating NV extend policies. Fixed issue with `wolfTPM2_PolicyHash` where input digest could be too large. 2024-12-17 11:30:47 -08:00
David Garske 671b702786 Allow extend with RSA or ECC. 2024-12-16 14:17:15 -08:00
David Garske 580b3a779e Fix issue with session binding. Add example for NV extend based on the TCG "bus protection guidance". 2024-12-16 11:53:52 -08:00
David Garske 8177ba8c1d Create separate tool for performing the TPM2_Clear (don't use args to wrap_test). 2024-12-13 14:52:38 -08:00
David Garske 88f57f373e Fix CI 2024-12-13 13:59:15 -08:00
David Garske e4ea0950e0 Fix CI for old wolfSSL. 2024-12-13 10:03:38 -08:00
David Garske 7c48b76548 Support for building wolfTPM against older wolfCrypt (like v4.7.0). 2024-12-13 09:45:52 -08:00
JacobBarthelmeh d0618adaf3
Merge pull request #388 from dgarske/various_20241206
Various cleanups
2024-12-09 10:58:45 -07:00
David Garske 87edf3d840 Cleanup the `SensitiveToPrivate` function stack variables. Switch `wolfTPM2_LoadSymmetricKey` to default to the `WOLFTPM2_WRAP_DIGEST` for hash algorithm and not try to use SHA1. Cleanup comments on EK/SRK. Tab and formatting. 2024-12-06 16:56:03 -08:00
David Garske 4540ed9c92
Merge pull request #387 from night1rider/PKCS7_Example_Fix
Fixing PKCS7 Type delclaration in example
2024-11-18 09:35:17 -08:00
msi-debian 599998d827 Fixing PKCS7 Type delclaration 2024-11-18 10:18:05 -07:00