diff options
author | Michael Vetter <jubalh@iodoru.org> | 2022-06-29 09:41:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-29 09:41:40 +0200 |
commit | 412a0a573714c11188cd4a59d871509f8eebbf86 (patch) | |
tree | 461b82fda0388c5ca1da5348118eb0995724a668 /src/pgp/gpg.h | |
parent | 5fabca1e3746634eed2be3244313af173c1b6a7d (diff) | |
parent | ca9cc3275a6bf0225540d6f0d497504fd024253d (diff) | |
download | profani-tty-412a0a573714c11188cd4a59d871509f8eebbf86.tar.gz |
Merge pull request #1728 from profanity-im/cleanup-pgp-ox
Split pgp and ox into separate files
Diffstat (limited to 'src/pgp/gpg.h')
-rw-r--r-- | src/pgp/gpg.h | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/src/pgp/gpg.h b/src/pgp/gpg.h index 090ec83b..a5cc9cee 100644 --- a/src/pgp/gpg.h +++ b/src/pgp/gpg.h @@ -74,23 +74,7 @@ char* p_gpg_autocomplete_key(const char* const search_str, gboolean previous, vo void p_gpg_autocomplete_key_reset(void); char* p_gpg_format_fp_str(char* fp); -char* p_ox_gpg_signcrypt(const char* const sender_barejid, const char* const recipient_barejid, const char* const message); - -char* p_ox_gpg_decrypt(char* base64); - -void p_ox_gpg_readkey(const char* const filename, char** key, char** fp); -gboolean p_ox_gpg_import(char* base64_public_key); - -/*! - * \brief List of public keys with xmpp-URI. - * - * @returns GHashTable* with GString* xmpp-uri and ProfPGPKey* value. Empty - * hash, if there is no key. NULL in case of error. - * - */ -GHashTable* ox_gpg_public_keys(void); - -gboolean ox_is_private_key_available(const char* const barejid); -gboolean ox_is_public_key_available(const char* const barejid); +ProfPGPKey* p_gpg_key_new(void); +void p_gpg_free_key(ProfPGPKey* key); #endif |