ascii-chat
Binary v0.16.50-198-g78f51665f
Library lib/v0.3.2-2240-g78f51665f
Video chat in your terminal
Loading...
Searching...
No Matches
export.c File Reference

GPG public key export implementation. More...

Go to the source code of this file.

Macros

#define CRYPTO_GPG_EXPORT_FOUND_KEYGRIP_BUFFER_SIZE   128
#define GPG_EXPORT_PACKET_CAPACITY   8192

Functions

int gpg_get_public_key (const char *key_id, uint8_t *public_key_out, char *keygrip_out)
 Get public key from GPG keyring by key ID.

Detailed Description

GPG public key export implementation.

Definition in file export.c.

Macro Definition Documentation

◆ CRYPTO_GPG_EXPORT_FOUND_KEYGRIP_BUFFER_SIZE

#define CRYPTO_GPG_EXPORT_FOUND_KEYGRIP_BUFFER_SIZE   128

Definition at line 8 of file export.c.

Referenced by gpg_get_public_key().

◆ GPG_EXPORT_PACKET_CAPACITY

#define GPG_EXPORT_PACKET_CAPACITY   8192

Definition at line 11 of file export.c.