Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

101.10. libcbor-0.14.0

CBOR parser — libfido2's wire format for talking to a security key

0.14.0-1 · MIT · 0.3 SBU · 195.9 KiB, 31 files · 41_system, 318 of 1047 · ports/core/crypto/libcbor

Homepage: https://github.com/PJK/libcbor

Depends on: cmake.

Required by (1): libfido2.

Sources: libcbor-0.14.0.tar.gz (309.7 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install libcbor'

build.sh:

mkdir -p build && cd build
cmake .. -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DCMAKE_BUILD_TYPE=Release \
	-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib \
	-DBUILD_SHARED_LIBS=ON -DWITH_TESTS=OFF -DWITH_EXAMPLES=OFF
make
make DESTDIR=$PKG install

Libraries: libcbor.so.

Directories: /usr/include/cbor, /usr/lib/cmake/libcbor, /usr/share/licenses/libcbor.