|
ascii-chat 0.8.38
Real-time terminal-based video chat with ASCII art conversion
|
Go to the source code of this file.
Functions | |
| asciichat_error_t | parse_gpg_key (const char *gpg_key_id, public_key_t *key_out) |
| asciichat_error_t | parse_gpg_key_binary (const uint8_t *gpg_key_binary, size_t key_size, public_key_t *key_out) |
| asciichat_error_t | extract_ed25519_from_gpg (const char *gpg_key_id, uint8_t ed25519_pk[32]) |
| asciichat_error_t | gpg_to_x25519_public (const char *gpg_key_text, uint8_t x25519_pk[32]) |
| asciichat_error_t | get_gpg_fingerprint (const char *gpg_key_text, uint8_t fingerprint_out[20]) |
| asciichat_error_t | get_gpg_key_id (const char *gpg_key_text, uint8_t key_id_out[8]) |
| asciichat_error_t | check_gpg_key_expiry (const char *gpg_key_text, bool *is_expired) |
| asciichat_error_t | format_gpg_key_display (const char *gpg_key_text, char *output, size_t output_size) |
| asciichat_error_t | extract_gpg_key_comment (const char *gpg_key_text, char *comment_out, size_t comment_size) |
| asciichat_error_t check_gpg_key_expiry | ( | const char * | gpg_key_text, |
| bool * | is_expired | ||
| ) |
Definition at line 176 of file gpg_keys.c.
References safe_snprintf().
| asciichat_error_t extract_ed25519_from_gpg | ( | const char * | gpg_key_id, |
| uint8_t | ed25519_pk[32] | ||
| ) |
Definition at line 107 of file gpg_keys.c.
References gpg_get_public_key().
Referenced by gpg_to_x25519_public(), and parse_gpg_key().
| asciichat_error_t extract_gpg_key_comment | ( | const char * | gpg_key_text, |
| char * | comment_out, | ||
| size_t | comment_size | ||
| ) |
Definition at line 315 of file gpg_keys.c.
| asciichat_error_t format_gpg_key_display | ( | const char * | gpg_key_text, |
| char * | output, | ||
| size_t | output_size | ||
| ) |
Definition at line 278 of file gpg_keys.c.
References get_gpg_key_id(), and safe_snprintf().
| asciichat_error_t get_gpg_fingerprint | ( | const char * | gpg_key_text, |
| uint8_t | fingerprint_out[20] | ||
| ) |
Definition at line 149 of file gpg_keys.c.
| asciichat_error_t get_gpg_key_id | ( | const char * | gpg_key_text, |
| uint8_t | key_id_out[8] | ||
| ) |
Definition at line 163 of file gpg_keys.c.
Referenced by format_gpg_key_display().
| asciichat_error_t gpg_to_x25519_public | ( | const char * | gpg_key_text, |
| uint8_t | x25519_pk[32] | ||
| ) |
Definition at line 123 of file gpg_keys.c.
References extract_ed25519_from_gpg().
| asciichat_error_t parse_gpg_key | ( | const char * | gpg_key_id, |
| public_key_t * | key_out | ||
| ) |
Definition at line 25 of file gpg_keys.c.
References extract_ed25519_from_gpg(), and safe_snprintf().
Referenced by parse_public_key().
| asciichat_error_t parse_gpg_key_binary | ( | const uint8_t * | gpg_key_binary, |
| size_t | key_size, | ||
| public_key_t * | key_out | ||
| ) |
Definition at line 71 of file gpg_keys.c.
References openpgp_parse_armored_pubkey(), and safe_snprintf().
Referenced by parse_public_key().