Skip to content

Token storage fixes#108

Merged
dgarske merged 1 commit into
wolfSSL:masterfrom
LinuxJedi:tpm-storage2
Jun 30, 2025
Merged

Token storage fixes#108
dgarske merged 1 commit into
wolfSSL:masterfrom
LinuxJedi:tpm-storage2

Conversation

@LinuxJedi
Copy link
Copy Markdown
Member

@LinuxJedi LinuxJedi commented Jun 30, 2025

Token storage fixes

This does the following:

  • Adds TPM upgrade tests
  • Modified pkcs11test and pkcs11mtt to use storage
  • Fixes the file storage upgrade test (v1.3.0 file storage is buggy)
  • Fix crash when CKO_NSS_TRUST object is destroyed (detected by above
    fixes)
  • Stops decode objects if we couldn't load them
  • Adds skipping capability to pkcs11test
  • Allows test_no_token_init to run (and skip) when storage data exists

@LinuxJedi LinuxJedi mentioned this pull request Jun 30, 2025
@LinuxJedi LinuxJedi force-pushed the tpm-storage2 branch 8 times, most recently from 41948a5 to 14091e5 Compare June 30, 2025 13:32
This does the following:

* Adds TPM upgrade tests
* Modified `pkcs11test` and `pkcs11mtt` to use storage
* Fixes the file storage upgrade test (v1.3.0 file storage is buggy)
* Fix crash when `CKO_NSS_TRUST` object is destroyed (detected by above
  fixes)
* Stops decode objects if we couldn't load them
* Adds skipping capability to `pkcs11test`
* Allows `test_no_token_init` to run (and skip) when storage data exists
@LinuxJedi LinuxJedi changed the title WiP TPM storage tests Token storage fixes Jun 30, 2025
@LinuxJedi LinuxJedi marked this pull request as ready for review June 30, 2025 13:40
@dgarske dgarske merged commit 28d1b9c into wolfSSL:master Jun 30, 2025
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants