aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
10 daysVersion 4.1.2HEADv4.1.2masterJames Bottomley1-1/+1
10 daysdoc: set the RFC date to when generatednextJames Bottomley1-1/+1
11 daystests: fix checks for illegal curvesJames Bottomley5-9/+28
11 daystests: enable sha1 bank if the vtpm comes with it disabledJames Bottomley1-24/+43
11 daysdoc: update draft RFC to specify the template exactlyJames Bottomley1-4/+20
12 daysdoc: add optional rsaParentGary Lin via groups.io1-1/+16
12 daysdoc: update draft RFC with an optional descriptionMorten Linderud1-0/+9
12 daystpm2-common: remove misleading comment from the ECC templateMorten Linderud1-3/+0
12 dayscreate_tpm2_key: fix missing tabs in --helpMorten Linderud1-9/+9
2024-01-02Version 4.1.1v4.1.1James Bottomley1-1/+1
2024-01-02Fix 32 bit signed conversionJames Bottomley4-8/+8
2023-12-30Version 4.1.0v4.1.0James Bottomley1-1/+1
2023-12-17doc: update draft RFC with TPM2_PolicySecret implementationJames Bottomley1-10/+38
2023-12-17tests: add check for signed policiesJames Bottomley3-0/+51
2023-12-17tools: add policy secret optionJames Bottomley8-7/+160
2023-12-17tpm2-common: add processing of TPM2_PolicySecretJames Bottomley1-0/+28
2023-12-17Rethread handling of authorizations for TPM2_PolicySecretJames Bottomley4-34/+34
2023-12-17tss: add tpm2_PolicySecretJames Bottomley2-0/+105
2023-12-15tss: add support for getting the names of objects (including NV objects)James Bottomley5-7/+68
2023-12-14tests: Add testing for the new locality flagJames Bottomley3-0/+25
2023-12-14Add locality policyJames Bottomley5-4/+90
2023-12-14TSS: add locality policyJames Bottomley2-0/+31
2023-12-08doc: add clarity around policyRef in TPM2_PolicyAuthorizeJames Bottomley1-2/+21
2023-12-04Version 4.0.2v4.0.2James Bottomley1-1/+1
2023-12-04provider: fix reference countingJames Bottomley3-1/+11
2023-12-04fix the pkcs12 wrapping test for openssl 3.2James Bottomley1-2/+7
2023-12-04Fix dynamic_engine tests for openssl 3.2James Bottomley1-0/+1
2023-11-28tpm2-common: fix encrypted secret sizeJames Bottomley1-0/+1
2023-11-22signed_tpm2_policy: match the man pageJames Bottomley2-85/+162
2023-11-22tpm2-common: add helpers for querying and removing key policyJames Bottomley2-25/+89
2023-11-22gcc-13 fixJames Bottomley1-1/+1
2023-11-22tests: fix for swtpm and tpm_server being installed simultaneouslyJames Bottomley2-5/+5
2023-07-05Version 4.0.1v4.0.1James Bottomley1-1/+1
2023-06-29intel-tss: more openssl-3 fixesJames Bottomley1-6/+6
2023-06-29tpm2-common: fix for openssl Boolean problemsJames Bottomley1-2/+4
2023-06-29configure.ac: always use the reference tpm if availableJames Bottomley1-3/+3
2023-06-28doc: convert to sourcecode tag and add ASN.1 moduleJames Bottomley1-26/+75
2023-06-26doc: make references to the TCG template explicitJames Bottomley1-4/+15
2023-06-26tests: skip known test failures for swtpmJames Bottomley1-0/+5
2023-06-26intel-tss: fix Intel TSS for swtpmJames Bottomley1-1/+6
2023-06-26tpm-common: remove support for < 256 bit elliptic curvesJames Bottomley2-111/+1
2023-06-26intel-tss: fix openssl3 codeJames Bottomley1-6/+6
2023-04-17doc: fix a typo in draft-bottomley-tpm2-keys.xmlGary Lin via groups.io1-1/+1
2023-03-29Version 4.0.0v4.0.0James Bottomley1-1/+1
2023-03-24tpm2-common.c: Fix gcc-13 being picky about int to enum conversionJames Bottomley2-2/+3
2023-03-22decode_encode: fix the provider recursion problemJames Bottomley1-0/+19
2023-03-22tests: add provider testsJames Bottomley4-0/+84
2023-03-22provider: add nv key handling with storeJames Bottomley5-4/+200
2023-03-22provider: add decryption functionsJames Bottomley6-7/+282
2023-03-22openssl3 provider: add signaturesJames Bottomley4-1/+187
2023-03-22Add openssl3 providerJames Bottomley8-1/+553
2023-03-22Add missing OpenSSL3 functionsJames Bottomley6-0/+753
2023-03-22intel-tss: update for openssl-3James Bottomley1-7/+63
2023-03-17Version 3.4.0v3.4.0James Bottomley1-1/+1
2023-03-17tpm2-common.c: fix uninitialized variable in tpm2_try_policy()James Bottomley1-1/+1
2023-03-17seal_tpm2_data: fix importable key creation with Intel TSSJames Bottomley1-0/+10
2023-03-17doc: update the OID in the RFC to match realityJames Bottomley1-2/+2
2023-03-17tpm2-common: factor out RSA decryptionJames Bottomley3-139/+84
2023-03-17add tests for elliptic curve parent authorityJames Bottomley1-0/+7
2023-03-17tpm2-common: allow arbitrary hashes for elliptic curve signaturesJames Bottomley1-5/+13
2023-03-17tpm2-common: factor out elliptic curve signature and derivationJames Bottomley5-163/+175
2023-03-17tpm2-common: reshuffle pieces for openssl3 providerJames Bottomley10-107/+110
2023-03-17tests: make engine specification and inputs variablesJames Bottomley26-104/+108
2023-03-17tests: move engine tests to a separate directoryJames Bottomley10-67/+72
2023-03-17Restructure the subdirectories to follow a more common approachJames Bottomley57-83/+74
2023-03-17Version 3.3.2v3.3.2James Bottomley1-1/+1
2023-02-23Fix memory leak of key authorizationJames Bottomley1-0/+3
2023-01-31Version 3.3.1v3.3.1James Bottomley1-1/+1
2023-01-30man page updatesJames Bottomley3-1/+40
2023-01-30Pad elliptic curve pointsJames Bottomley1-2/+15
2023-01-29Version 3.3.0v3.3.0James Bottomley1-1/+1
2023-01-12Tests for name algorithm fixesJames Bottomley2-67/+83
2023-01-12name algorithm fixesJames Bottomley3-10/+11
2023-01-12tests: add test for importable sealed dataJames Bottomley1-0/+23
2023-01-12seal_tpm2_data: allow the creation of importable sealed dataJames Bottomley1-35/+102
2023-01-12tpm2-common: update to allow importable sealed dataJames Bottomley1-3/+7
2023-01-12Move tpm2_outerwrap to commonJames Bottomley3-135/+140
2023-01-12Version 3.2.1v3.2.1James Bottomley1-1/+1
2023-01-12signed_tpm2_policy: fix double freeJames Bottomley2-1/+3
2023-01-12Version 3.2.0v3.2.0James Bottomley1-1/+1
2023-01-11doc: update draft RFC with signed policyJames Bottomley2-5/+215
2023-01-11tests: add tests for signed policiesJames Bottomley2-0/+88
2023-01-11signed_tpm2_policy: add new command for manipulating signed policiesJames Bottomley6-3/+488
2023-01-11tpm2-common.c: add processing of signed policy authorizationsJames Bottomley6-81/+242
2023-01-11TSS: add functions to support PolicyAuthorizeJames Bottomley2-0/+213
2023-01-11create_tpm2_key, seal_tpm2_data: add option to create signed policyJames Bottomley4-4/+59
2023-01-11tpm2-common, tpm2-asn: add new opt for authorized policiesJames Bottomley3-5/+127
2023-01-11tpm2-common: move public key conversion and name algorithm to commonJames Bottomley6-252/+253
2022-12-01Version 3.1.2v3.1.2James Bottomley1-1/+1
2022-12-01unseal_tpm2_key: fix seg fault if key unsealing failsJames Bottomley1-1/+2
2022-12-01create_tpm2_key: fix uninitialized data problemJames Bottomley1-3/+1
2022-03-01Version 3.1.1v3.1.1James Bottomley1-1/+1
2022-02-28Take an engine reference in the keyJames Bottomley6-9/+17
2022-02-28Add test for dynamic engine keys to detect possible use after freeJames Bottomley2-0/+30
2022-02-28Add key use tracking to detect use after freeJames Bottomley2-0/+15
2022-02-16Version: 3.1.0v3.1.0James Bottomley1-1/+1
2022-02-16Fix tests for openssl-3James Bottomley9-34/+36
2022-02-16Add an openssl-3 transform to legacy keysJames Bottomley2-0/+8
2022-02-16Add openssl-3 supportJames Bottomley2-0/+11
2022-02-16fix uninitialized variableJames Bottomley1-1/+2
2022-02-16doc: add draft RFC for TPM Key formatJames Bottomley4-2/+484
2021-04-11seal_unseal: add --pcr-lock for easy policyJames Bottomley3-7/+72
2021-04-11Add tests for the new --pcr-lock optionJames Bottomley1-0/+45
2021-04-11create_tpm2_key: Add PCR policy option to key creationJames Bottomley6-10/+367
2021-04-11intel-tss: Fix wrong written length in the Marshal commandsJames Bottomley1-1/+1
2021-04-04Version: 3.0.1v3.0.1James Bottomley1-1/+1
2021-03-22Handle memory allocation errors tooJonathan Wernberg3-12/+59
2021-03-22Fix memory leaks by rewriting engine init/finish logicJonathan Wernberg5-15/+57
2021-03-19Introduce env variables to set owner and group of TSS dirRoberto Sassu3-2/+89
2021-03-04Version: 3.0.0v3.0.0James Bottomley1-1/+1
2021-03-04configure: add a check for a missing Intel TSS API (Esys_TR_GetTpmHandle)James Bottomley1-0/+11
2021-02-27Work around Intel TSS Null Seed problems (issue 1993)James Bottomley2-3/+22
2021-02-27Add support for the Intel TSSJames Bottomley7-17/+1045
2021-02-26Work around Intel TSS Premature AbstractionJames Bottomley7-42/+96
2021-02-26move to functional TSS formJames Bottomley9-466/+796
2021-02-20Preliminary TPM2B conversion to make TSS agnosticJames Bottomley11-154/+122
2020-07-02Version: 2.4.2v2.4.2James Bottomley1-1/+1
2020-06-23tests: add test for no password public keysJames Bottomley2-2/+2
2020-06-23tpm2-common: support loading public key onlyJames Bottomley5-23/+48
2020-05-10Allow use of swtpm for testingJames Bottomley3-13/+37
2020-05-09tests: add test for curves openssl doesn't supportJames Bottomley2-0/+31
2020-05-09tpm2-common.c: make openssl handle explicitly parametrised curves correclyJames Bottomley1-0/+1
2020-05-09wrap_ecc.sh: Add tests for explicit curve parametrisationJames Bottomley1-1/+13
2020-05-09tpm2-common: add support for every currently specified TPM2 curveJames Bottomley1-0/+322
2020-03-25Version: 2.4.1v2.4.1James Bottomley1-1/+1
2020-03-24Fix OpenSSL 1.0.2 buildJames Bottomley2-0/+3
2020-03-24seal_tpm2_data: fix compile problem on older gccJames Bottomley1-1/+1
2020-03-24configure.ac: make location of software TPM configurableJames Bottomley3-5/+15
2020-03-05Version: 2.4.0v2.4.0James Bottomley1-1/+1
2020-03-04add mailing list in README and bug reportingJames Bottomley2-2/+9
2020-03-04Add ability to import PKCS12 keysJames Bottomley3-1/+59
2020-01-26Add test for seal/unsealJames Bottomley2-1/+21
2020-01-26Add TPM data sealing and unsealing functionsJames Bottomley12-13/+612
2020-01-10tpm2-common: export tpm key type from file to app_dataJames Bottomley2-9/+20
2020-01-10tpm2-common.c: move several routines into common codeJames Bottomley3-241/+250
2020-01-10Version: 2.3.1v2.3.1James Bottomley1-1/+1
2020-01-10tests: add a test for DER keysJames Bottomley2-1/+19
2020-01-10tpm2-common: allow loading of DER keysJames Bottomley1-0/+6
2020-01-10tpm2-common: make empty auth optionalJames Bottomley1-0/+4
2019-12-29load_tpm2_key: add a test for loading importable keysJames Bottomley1-0/+6
2019-12-29load_tpm2_key: use common file parsing and load routinesJames Bottomley4-79/+29
2019-12-27tpm2-common: extract file and TPM loading functionsJames Bottomley7-481/+510
2019-12-27e_tpm2: simplify tpm2_load_key_coreJames Bottomley1-36/+18
2019-12-22Fix compile warning on older GCCJonathan Wernberg1-15/+15
2019-02-24Version: 2.3.0v2.3.0James Bottomley1-1/+1
2019-02-24Add tests for restricted keysJames Bottomley2-0/+83
2019-02-24load_tpm2_key: add new command to load a key file to a NV handleJames Bottomley4-3/+269
2019-02-24Make removal of key files from the temporary directory explicitJames Bottomley4-10/+14
2019-02-24create_tpm2_key: add a --restricted optionJames Bottomley1-0/+73
2019-02-19Add .gitignoreJames Bottomley1-0/+33
2019-02-15Version: 2.2.0v2.2.0James Bottomley1-1/+1
2019-02-14Fix engines install pathJames Bottomley1-1/+1
2019-02-13e_tpm-rsa.c: add additional padding typesJames Bottomley3-17/+58
2019-01-21Fix up engine installationJames Bottomley2-10/+35
2019-01-14Add native build dependenciesJames Bottomley1-1/+4
2019-01-12Version: 2.1.1v2.1.1James Bottomley1-1/+3
2019-01-12e_tpm2: fix intermittent segfault with importable keysJames Bottomley1-0/+1
2019-01-04e_tpm2: fix spurious error on successful operationJames Bottomley1-0/+2
2018-11-18Correct engine name in README and man pageFredrik Ternerot2-6/+4
2018-11-14Version 2.1.0v2.1.0James Bottomley1-1/+1
2018-11-14Add tests for importable keysJames Bottomley2-0/+21
2018-11-14Add importable keysJames Bottomley4-41/+387
2018-11-13tpm2-common: remove interfaces only used by create-tpm2-keyJames Bottomley3-156/+142
2018-11-13tpm2-common: add point conversion routinesJames Bottomley3-19/+31
2018-11-12Version 2.0.1v2.0.1James Bottomley1-1/+1
2018-11-12check_enhanced_auth.sh: add loop over name algorithm typeJames Bottomley5-75/+85
2018-11-12create_tpm2_key: policy should use the name algorithmJames Bottomley7-25/+45
2018-11-12e_tpm2-ecc.c: enable response encryption for ecda decryptionJames Bottomley1-1/+1
2018-11-12Enable TPM parameter encryption for RSA encrypt/decryptFredrik Ternerot1-2/+2
2018-11-08create_tpm2_key: fix use after freeJames Bottomley1-5/+4
2018-11-07create_tpm2_key: fix name algorithm selectionJames Bottomley1-7/+3
2018-11-05Version 2.0.0v2.0.0James Bottomley1-1/+1
2018-11-01add tests for old keysJames Bottomley3-17/+69
2018-11-01move to TCG defined OIDs for the key typesJames Bottomley2-8/+32
2018-10-31Allow TSS2 PRIVATE KEY and TSS2 KEY BLOB ASN.1 to divergeDavid Woodhouse3-22/+62
2018-10-31Add 'TSS2 PRIVATE KEY' PEM tag, using correct objectAttributesDavid Woodhouse3-4/+14
2018-10-31Allow changing objectAttributes for primary key generationDavid Woodhouse5-4/+10
2018-10-16LICENCE: tidy up remaining GPLv2 tags and clarify ASN.1 fair useJames Bottomley6-6/+10
2018-10-11LICENCE: Change from GPLv2 to LGPLv2.1James Bottomley2-347/+169
2018-08-12policy: fail early for PCR mismatchJames Bottomley1-7/+27
2018-08-12policy: add the ability to have time limited keysJames Bottomley4-8/+126
2018-08-10Version 1.2.1v1.2.1James Bottomley1-1/+1
2018-08-10fix error handling for failed policy commandsJames Bottomley3-6/+22
2018-08-09tpm2-common: remove duplicate codeRoberto Sassu1-9/+0
2018-06-30Version: 1.2.0v1.2.0James Bottomley1-1/+1
2018-06-29create_tpm2_key: man page updatesJames Bottomley1-2/+18
2018-06-29create_tpm2_key: fix ordering of password collection and policy file parsingJames Bottomley1-12/+14
2018-06-29create_tpm2_key: clean up error handlingJames Bottomley1-22/+38
2018-06-29create_tpm2_key: correct error checkJames Bottomley1-1/+6
2018-06-28openssl_tpm2_engine: add tests for enhanced authorizationRoberto Sassu6-0/+91
2018-06-28create_tpm2_key: introduce --key-policy optionRoberto Sassu2-7/+211
2018-06-28engine: retrieve policy commands from the keyRoberto Sassu4-6/+105
2018-06-28tpm2-common: initialize policy sessionRoberto Sassu2-0/+67
2018-06-28tpm2-asn: add TPMPolicy definitionRoberto Sassu1-0/+34
2018-06-28engine: determine the required session type from USERWITHAUTH flagRoberto Sassu4-10/+29
2018-06-28tpm2-common: rename tpm2_get_hmac_handle() to tpm2_get_session_handle()Roberto Sassu6-12/+15
2018-06-19Add variable header locationsJames Bottomley6-23/+33
2018-06-14configure.ac: Update for ibmtss2 changesJames Bottomley1-2/+6
2018-02-08Version: 1.1.0v1.1.0James Bottomley1-1/+1
2018-02-08tests: add prefix change to test_nv_key.shJames Bottomley2-2/+15