latchset / kryoptic

a pkcs#11 software token written in Rust
GNU General Public License v3.0
10 stars 4 forks source link

Support default storage location #37

Closed Jakuje closed 2 months ago

Jakuje commented 5 months ago
          Should we add a default place to look at when no env var is set ?

(perhaps in a separate PR)

Originally posted by @simo5 in https://github.com/latchset/kryoptic/issues/35#issuecomment-2066696699

This was discussed previously and we considered some defaults like:

The environment variable and pReserved argument to Initialize should override the defaults.

[1] https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html