diff options
author | Denis Pynkin <denis.pynkin@collabora.com> | 2019-07-29 02:32:28 +0300 |
---|---|---|
committer | Denis Pynkin <denis.pynkin@collabora.com> | 2020-03-25 15:23:54 +0300 |
commit | edbbe1c4f2267c0d95d4ee14f6cbc516a1d31dca (patch) | |
tree | e3c6c25522ff009865283668ec1ee28fabe4d511 /Makefile-libostree.am | |
parent | 84c8164610ee3df9bbd06f0be9e37a873708ec2d (diff) | |
download | ostree-edbbe1c4f2267c0d95d4ee14f6cbc516a1d31dca.tar.gz |
lib/sign: initial implementation
Added the initial version of signing interface allowing to allowing to
sign and verify commits.
Implemented initial signing modules:
- dummy -- simple module allowing to sign/verify with ASCII string
- ed25519 -- module allowing to sign/verify commit with ed25519
(EdDSA) signature scheme provided by libsodium library.
Signed-off-by: Denis Pynkin <denis.pynkin@collabora.com>
Diffstat (limited to 'Makefile-libostree.am')
-rw-r--r-- | Makefile-libostree.am | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile-libostree.am b/Makefile-libostree.am index a7e7e123..c0a7ac9f 100644 --- a/Makefile-libostree.am +++ b/Makefile-libostree.am @@ -262,6 +262,20 @@ libostree_1_la_CFLAGS += $(OT_DEP_SELINUX_CFLAGS) libostree_1_la_LIBADD += $(OT_DEP_SELINUX_LIBS) endif +libostree_1_la_SOURCES += \ + src/libostree/ostree-sign.c \ + src/libostree/ostree-sign.h \ + src/libostree/ostree-sign-dummy.c \ + src/libostree/ostree-sign-dummy.h \ + src/libostree/ostree-sign-ed25519.c \ + src/libostree/ostree-sign-ed25519.h \ + $(NULL) + +if USE_LIBSODIUM +libostree_1_la_CFLAGS += $(OT_DEP_LIBSODIUM_CFLAGS) +libostree_1_la_LIBADD += $(OT_DEP_LIBSODIUM_LIBS) +endif # USE_LIBSODIUM + # XXX: work around clang being passed -fstack-clash-protection which it doesn't understand # See: https://bugzilla.redhat.com/show_bug.cgi?id=1672012 INTROSPECTION_SCANNER_ENV = CC=gcc |