diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-09-10 16:46:52 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-09-14 15:42:55 +0200 |
commit | 27cc51c269fbe9d2ca65711d281c63ae441a9b4a (patch) | |
tree | 16b97c8c44636aa9518ad238dbed9aef828e8e64 /tests/dsa.key | |
parent | 7809071c822589dfc3c65c539760e92936c41073 (diff) | |
download | guix-patches-27cc51c269fbe9d2ca65711d281c63ae441a9b4a.tar guix-patches-27cc51c269fbe9d2ca65711d281c63ae441a9b4a.tar.gz |
daemon: Isolate signing and signature verification functions.
* nix/libstore/local-store.cc (signHash, verifySignature): New
functions.
(LocalStore::exportPath): Use 'signHash' instead of inline code.
(LocalStore::importPath): Use 'verifySignature' instead of inline code.
Diffstat (limited to 'tests/dsa.key')
0 files changed, 0 insertions, 0 deletions