diff options
author | Dan Nicholson <nicholson@endlessm.com> | 2019-08-26 10:09:57 -0600 |
---|---|---|
committer | Dan Nicholson <dbn@endlessos.org> | 2021-07-15 15:50:04 -0600 |
commit | fbff05e28d0e0d3c8424a7d4a5652a253a553b04 (patch) | |
tree | c21802b3a1a0700d467d2910c71e9695b0e5e2ba /Makefile-otutil.am | |
parent | 74fb0c5f7826e90efcc905ba75cf8a176d61f0a5 (diff) | |
download | ostree-fbff05e28d0e0d3c8424a7d4a5652a253a553b04.tar.gz |
libotutil: Import implementation of zbase32 encoding
This will be used to implement the PGP Web Key Directory (WKD) URL
generation. This is a slightly cleaned up implementation[1] taken from
the zbase32 author's original implementation[2]. It provides a single
zbase32_encode API to convert a set of bytes to the zbase32 encoding.
I believe this should be acceptable for inclusion in ostree. The license
in the source files is BSD style while the original repo LICENSE file
claims the Creative Commons CC0 1.0 Universal license, which is public
domain.
1. https://github.com/dbnicholson/libbase32/tree/for-ostree
2. https://github.com/zooko/libbase32
Diffstat (limited to 'Makefile-otutil.am')
-rw-r--r-- | Makefile-otutil.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile-otutil.am b/Makefile-otutil.am index e8901b57..7bc87b6a 100644 --- a/Makefile-otutil.am +++ b/Makefile-otutil.am @@ -49,6 +49,8 @@ if USE_GPGME libotutil_la_SOURCES += \ src/libotutil/ot-gpg-utils.c \ src/libotutil/ot-gpg-utils.h \ + src/libotutil/zbase32.c \ + src/libotutil/zbase32.h \ $(NULL) endif |