jedisct1 / minisign

A dead simple tool to sign files and verify digital signatures.
https://jedisct1.github.io/minisign/
Other
2.05k stars 117 forks source link

System trusted public keys #103

Closed kallisti5 closed 10 months ago

kallisti5 commented 3 years ago

Is it possible to have a system directory of trusted public keys?

As a use case example, Haiku (the operating system) places read-only minisign public keys for our artifacts in /boot/system/data/trust_db (example: /boot/system/data/trust_db/haiku-2019.pub)

It would be a cool feature if minisign could additionally search this directory for system trusted signing keys.

Would minisign be interested in a patch doing something similar to this under Haiku?

jedisct1 commented 3 years ago

As long as it doesn't add too much complexity to the code, why not!

Keys have identifiers, so I guess the plan would be to name files according to these identifiers?

jedisct1 commented 3 years ago

Also, Haiku is nice, but such feature should ideally remain portable C that works on other operating systems as well.

kallisti5 commented 2 years ago

Haiku's fully posix, so anything added would be portable :-)