tpm2-pkcs11 icon indicating copy to clipboard operation
tpm2-pkcs11 copied to clipboard

Skip null attribute during DB update

Open tracefinder opened this issue 2 years ago • 4 comments

This PR is based on a patch from https://github.com/tpm2-software/tpm2-pkcs11/issues/845 and fixes the issue when there is no CKA_ALLOWED_MECHANISMS attribute during DB migration

tracefinder avatar Nov 07 '23 09:11 tracefinder

Codecov Report

Merging #849 (9873237) into master (1b3aab9) will decrease coverage by 0.01%. The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #849      +/-   ##
==========================================
- Coverage   72.43%   72.42%   -0.01%     
==========================================
  Files          34       34              
  Lines        9773     9774       +1     
==========================================
  Hits         7079     7079              
- Misses       2694     2695       +1     
Files Coverage Δ
src/lib/db.c 67.41% <0.00%> (-0.06%) :arrow_down:

:mega: Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!

codecov[bot] avatar Nov 07 '23 09:11 codecov[bot]

I guess opensuse-leap has the same issue as in https://github.com/tpm2-software/tpm2-pkcs11/pull/808#issuecomment-1398563650

tracefinder avatar Nov 07 '23 14:11 tracefinder

@williamcroberts sorry for bothering you. Could you take a look at this PR? It's not big.

tracefinder avatar Nov 30 '23 13:11 tracefinder

Link to #858

idlesign avatar May 27 '24 03:05 idlesign