about summary refs log tree commit diff stats
path: root/src/pgp
Commit message (Collapse)AuthorAgeFilesLines
* add `files_file_in_account_data_path()`Steffen Jaeckel2022-03-131-19/+5
| | | | | | | | | | | | As all parts of the code invoking the `files_get_account_data_path()` function did the same afterwards, a function has been added with the same behavior. 1. create path 2. `mkdir` of that path 3. return final path Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* auto-formatSteffen Jaeckel2022-02-011-14/+14
| | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* Format code correctlyMichael Vetter2021-10-051-1/+1
|
* OX bug fixingDebXWoody2021-06-291-0/+5
| | | | | * Don't decryption if there is no private key * Decryption error messages
* Fix various typosMichael Vetter2020-12-101-3/+3
|
* Declare counter var inside loopMichael Vetter2020-11-091-4/+2
| | | | We require c99/gnu99 anyways.
* Since the string from strerror should never be modified, use const.Philipp Klaus Krause2020-10-141-1/+1
|
* OX: XEP-0373: OpenPGP for XMPP - Version 0.5.0 (2020-06-19)DebXWoody2020-07-102-0/+45
| | | | | | | | | | | Discovering Public Keys via PEP * 4.3 Discovering Public Keys of a User * 4.4 Requesting Public Keys * Import Public Keys into GnuPG's local keyring. Issue: #1331
* Apply coding styleMichael Vetter2020-07-072-318/+330
|
* Revert "Apply coding style"Michael Vetter2020-07-072-334/+322
| | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems.
* Apply coding styleMichael Vetter2020-07-072-322/+334
| | | | Regards https://github.com/profanity-im/profanity/issues/1396
* OX: Announce public key on PEPDebXWoody2020-07-062-0/+105
| | | | | | | | | | | | | | | src/pgp/gpg.c:p_ox_gpg_readkey Used to read a public key from a file. The function will return the fingerprint of the file and the base64 encoded key. src/xmpp/ox.[hc] ox_announce_public_key(const char* const filename) can be called from the /ox announce <filename> command. The key within the file will be pushed on PEP and the Metadata node will be set. Issue: #1331
* gpg.c: _ox_key_is_usable() simplify if conditionMichael Vetter2020-07-021-3/+3
|
* gpg.c: Format new ox function headsMichael Vetter2020-07-021-7/+26
|
* Use files_get_account_data_path instead of duplicate codeMichael Vetter2020-07-011-13/+9
| | | | | We often had a use case where we want the account specific data dir. Let's create a function for this instead of doing it by hand each time.
* Feature request - XEP-0373: OpenPGP for XMPP (OX)DebXWoody2020-06-292-0/+355
| | | | | | | | | Basic implementation of XEP-0373: OpenPGP for XMPP. https://xmpp.org/extensions/xep-0373.html Command /ox Issue: #1331
* Add context to autocomplete_with_func and use it for omemo trust commandPaul Fariello2020-01-312-2/+2
| | | | Fix #1068
* Add vim modelineMichael Vetter2019-11-132-0/+2
|
* Restoration of correct GPG encryptionViachaslau Khalikin2019-02-201-1/+1
| | | | | | | | Fixes https://github.com/boothj5/profanity/issues/997 Proposed as https://github.com/boothj5/profanity/pull/1008 Related to XEP-0027. Message edited and commit cherry picked by jubalh.
* Update copyright to include 2019Michael Vetter2019-01-222-2/+2
|
* Update copyrightJames Booth2018-01-212-2/+2
|
* Show libotr and libgpgme versions on --versionJames Booth2017-08-101-1/+4
| | | | issue #956
* Allow previous autocompletion with shift tabJames Booth2017-04-012-3/+3
|
* Update CopyrightJames Booth2017-01-282-2/+2
|
* Free pgpdirJames Booth2016-07-251-0/+1
|
* Move all filepath handling to files.cJames Booth2016-07-241-5/+3
|
* Move xgd functionsJames Booth2016-07-241-1/+1
|
* Add config/files.cJames Booth2016-07-241-0/+1
|
* Tidy headersJames Booth2016-07-241-1/+1
|
* Make header defines consistentJames Booth2016-07-241-2/+2
|
* Update GPL link in headersJames Booth2016-07-242-2/+2
|
* Removed #AX_PREFIX_CONFIG_HJames Booth2016-03-311-1/+1
|
* PGP: Fixed array size for encryption keysJames Booth2016-03-291-1/+1
|
* PGP: Also encrypt using sender public keyJames Booth2016-03-292-11/+30
|
* Merge branch 'master' into plugins-cJames Booth2016-02-142-2/+2
|\ | | | | | | | | | | Conflicts: src/main.c src/ui/console.c
| * Updated copyrightJames Booth2016-02-142-2/+2
| |
* | Added C plugin code from plugins branchJames Booth2016-02-141-1/+1
|/
* Show PGP error stringsJames Booth2015-12-152-6/+10
|
* Applied coding style to src/pgp/James Booth2015-10-252-31/+30
|
* PGP: Use old gpgme_io_writeJames Booth2015-09-011-1/+1
|
* PGP: Use old gpgme_io_writeJames Booth2015-09-011-1/+1
|
* PGP: Added null check for passphrase_attemptJames Booth2015-09-011-2/+6
|
* Save PGP passphrase when correctJames Booth2015-09-011-22/+47
|
* Added UI function to get PGP passphraseJames Booth2015-09-011-10/+13
|
* Added PGP passphrase callbackJames Booth2015-09-011-0/+34
|
* PGP: Format fingerprintsJames Booth2015-08-302-0/+25
|
* Added PGP key autocompleterJames Booth2015-08-252-0/+34
|
* PGP: Display whether contact public key was received or manually setJames Booth2015-08-252-9/+34
|
* PGP: Show key IDs for assigned public keysJames Booth2015-08-252-61/+61
|
* PGP: Do not save contact's fingerprint when no key foundJames Booth2015-08-251-3/+11
|