CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
xsig.h
Go to the documentation of this file.
1#pragma once
2
4#include <cstddef>
5#include <cstdint>
6
7namespace cdc::mod_gpg {
8
25bool gpgCrossSign(const gpg_recv_key_t& target,
26 uint32_t sig_creation_time,
27 uint8_t out_sig[64]);
28
43 char* out, size_t out_size,
44 size_t* out_len);
45
46} // namespace cdc::mod_gpg
bool gpgCrossSign(const gpg_recv_key_t &target, uint32_t sig_creation_time, uint8_t out_sig[64])
Cross-sign a received key with the badge's own SIG ECC slot.
Definition xsig.cpp:193
bool gpgBuildSignedKeyArmored(const gpg_recv_key_t &key, char *out, size_t out_size, size_t *out_len)
Build an ASCII-armored OpenPGP block carrying the cross-signed key.
Definition xsig.cpp:283
One GPG public key received from another badge.