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

prefer ~/.local/share/ as the data directory (WIP)

Open grawity opened this issue 1 year ago • 1 comments

For newly created DBs, following the general practice on Linux (and tpm2-tss, which already uses ~/.local/share/tpm2-tss/ for FAPI).

The old ~/.tpm_pkcs11/ path is supposed to be still used if it exists, assuming I got the logic right, but I'm really not sure if the db.c part of it is correct.

grawity avatar Mar 12 '23 07:03 grawity

Codecov Report

Merging #828 (a6f124c) into master (3987372) will decrease coverage by 0.05%. The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #828      +/-   ##
==========================================
- Coverage   72.32%   72.27%   -0.05%     
==========================================
  Files          33       34       +1     
  Lines        9579     9794     +215     
==========================================
+ Hits         6928     7079     +151     
- Misses       2651     2715      +64     
Impacted Files Coverage Δ
src/lib/db.c 66.38% <0.00%> (+0.34%) :arrow_up:

... and 8 files with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

codecov[bot] avatar Mar 12 '23 07:03 codecov[bot]