Michael Vetter
35aecd425f
Declare counter var inside loop
...
We require c99/gnu99 anyways.
2020-11-09 11:33:33 +01:00
Philipp Klaus Krause
6a276e74e3
Since the string from strerror should never be modified, use const.
2020-10-14 09:52:26 +02:00
DebXWoody
0552e50c78
OX: XEP-0373: OpenPGP for XMPP - Version 0.5.0 (2020-06-19)
...
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
2020-07-10 13:40:00 +02:00
Michael Vetter
a2726b6a7d
Apply coding style
2020-07-07 14:18:57 +02:00
Michael Vetter
a4cadf78fa
Revert "Apply coding style"
...
This reverts commit 9b55f2dec0
.
Sorting the includes creates some problems.
2020-07-07 13:53:30 +02:00
Michael Vetter
9b55f2dec0
Apply coding style
...
Regards https://github.com/profanity-im/profanity/issues/1396
2020-07-07 09:43:28 +02:00
DebXWoody
5a17957253
OX: Announce public key on PEP
...
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
2020-07-06 13:19:18 +02:00
Michael Vetter
26d4b00d6d
gpg.c: _ox_key_is_usable() simplify if condition
2020-07-02 15:11:06 +02:00
Michael Vetter
27f5706e77
gpg.c: Format new ox function heads
2020-07-02 15:09:34 +02:00
Michael Vetter
1224aa414e
Use files_get_account_data_path instead of duplicate code
...
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.
2020-07-01 10:05:45 +02:00
DebXWoody
2c94ee5a88
Feature request - XEP-0373: OpenPGP for XMPP (OX)
...
Basic implementation of XEP-0373: OpenPGP for XMPP.
https://xmpp.org/extensions/xep-0373.html
Command /ox
Issue: #1331
2020-06-29 19:05:41 +02:00
Paul Fariello
a52e3ea1d8
Add context to autocomplete_with_func and use it for omemo trust command
...
Fix #1068
2020-01-31 10:07:08 +01:00
Michael Vetter
46fd7150e5
Add vim modeline
2019-11-13 12:11:05 +01:00
Viachaslau Khalikin
289b05ea50
Restoration of correct GPG encryption
...
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.
2019-02-20 11:53:40 +01:00
Michael Vetter
706af9a900
Update copyright to include 2019
2019-01-22 11:31:45 +01:00
James Booth
250e972b7a
Update copyright
2018-01-21 15:00:02 +00:00
James Booth
ca1dcdda6c
Show libotr and libgpgme versions on --version
...
issue #956
2017-08-10 22:47:17 +01:00
James Booth
6b830277a6
Allow previous autocompletion with shift tab
2017-04-01 00:27:11 +01:00
James Booth
68a3daedb9
Update Copyright
2017-01-28 17:24:22 +00:00
James Booth
33172cb917
Free pgpdir
2016-07-25 01:03:44 +01:00
James Booth
a3a73cf003
Move all filepath handling to files.c
2016-07-24 21:49:35 +01:00
James Booth
29452f8f1b
Move xgd functions
2016-07-24 17:12:09 +01:00
James Booth
ef942bd27a
Add config/files.c
2016-07-24 16:22:15 +01:00
James Booth
0a57c4de78
Tidy headers
2016-07-24 15:43:51 +01:00
James Booth
9cff37352a
Make header defines consistent
2016-07-24 14:51:39 +01:00
James Booth
e8fc80f5c1
Update GPL link in headers
2016-07-24 01:14:49 +01:00
James Booth
9b177a9e01
Removed #AX_PREFIX_CONFIG_H
2016-03-31 21:05:02 +01:00
James Booth
66467f976f
PGP: Fixed array size for encryption keys
2016-03-29 21:30:41 +01:00
James Booth
7b138b71db
PGP: Also encrypt using sender public key
2016-03-29 21:24:37 +01:00
James Booth
1f90aca503
Merge branch 'master' into plugins-c
...
Conflicts:
src/main.c
src/ui/console.c
2016-02-14 23:00:52 +00:00
James Booth
e53e94f1e2
Updated copyright
2016-02-14 22:54:46 +00:00
James Booth
41fe8c22b1
Added C plugin code from plugins branch
2016-02-14 22:28:55 +00:00
James Booth
88fd2a25ee
Show PGP error strings
2015-12-15 00:38:16 +00:00
James Booth
39d183fe23
Applied coding style to src/pgp/
2015-10-25 22:43:19 +00:00
James Booth
8a90e1acf1
PGP: Use old gpgme_io_write
2015-09-01 21:52:11 +01:00
James Booth
aee832f7c1
PGP: Use old gpgme_io_write
2015-09-01 21:40:07 +01:00
James Booth
4d18c5ff52
PGP: Added null check for passphrase_attempt
2015-09-01 21:08:23 +01:00
James Booth
53035f5e4c
Save PGP passphrase when correct
2015-09-01 21:05:17 +01:00
James Booth
1f4fd0fcb3
Added UI function to get PGP passphrase
2015-09-01 20:16:04 +01:00
James Booth
dd346eefc4
Added PGP passphrase callback
2015-09-01 19:24:56 +01:00
James Booth
688be91c23
PGP: Format fingerprints
2015-08-30 02:12:05 +01:00
James Booth
cb19be2ffc
Added PGP key autocompleter
2015-08-25 23:44:03 +01:00
James Booth
55c2d1cc21
PGP: Display whether contact public key was received or manually set
2015-08-25 23:04:21 +01:00
James Booth
fc1ee79190
PGP: Show key IDs for assigned public keys
2015-08-25 22:45:51 +01:00
James Booth
592a3695a5
PGP: Do not save contact's fingerprint when no key found
2015-08-25 21:58:24 +01:00
James Booth
f6a91145b6
Show public/private indicator when listing PGP keys
2015-08-25 00:21:49 +01:00
James Booth
d6ff72cf48
Show public keys in PGP key list
2015-08-24 22:27:15 +01:00
James Booth
525876770a
Removed unused barejid argument from PGP decryption
2015-08-24 00:13:57 +01:00
James Booth
b1ab4b2854
Added JID to log when failing to load PGP fingerprint
...
Added PGP stub for tests
2015-08-23 23:09:44 +01:00
James Booth
57ca441f02
Check for valid PGP key on start
2015-08-23 22:54:41 +01:00