summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-02-13Handle carbons-forwarded messages in the console moduledefanor
2021-02-12Add a few XEP-0060 (pubsub) helper functionsdefanor
2021-02-12Set log_function on initialisationdefanor
rexmpp_init may write logs itself, so a logging function should be set for that.
2021-02-11Group MUC and key management console commandsdefanor
2021-02-11Add initial JID checksdefanor
The rexmpp_jid_check function now ensures that JID parts are valid UTF-8 strings, and that only allowed code points (per RFC 8265) are used in those. Though there is a few more checks to perform still.
2021-02-11Add stricter checks for '/' and '@' positions in JIDsdefanor
2021-02-11Allow to reupload OpenPGP keys, without stripping signaturesdefanor
For potential use of key revocation and/or of the WOT trust model.
2021-02-08Adjust and document XEP-0373 APIdefanor
2021-02-07Add dedicated functions for message signing and encryptiondefanor
2021-02-07Add rexmpp_openpgp_set_signers functiondefanor
Now there are can_sign/can_encrypt checks, and this should be more suitable for future sign-only and encrypt-only functions.
2021-02-07Use gsasl_nonce for random paddingdefanor
2021-02-07Use gpgme_key_unref instead of gpgme_key_releasedefanor
gpgme_key_release is deprecated.
2021-02-07Clear the list of signers before filling it againdefanor
Retracted keys may still stay there otherwise.
2021-02-07Delete OpenPGP key node on key retractiondefanor
2021-02-07Add the rexmpp_openpgp_retract_key functiondefanor
2021-02-07Only attempt to sign messages with available secret keysdefanor
2021-02-07Add the rexmpp_openpgp_set_home_dir utility functiondefanor
2021-02-07Accept IQ replies without "from" attributedefanor
2021-01-25Use getline(3) for examples/basic.c password readingdefanor
It's not great, but a little less awkward than gets(3). May be nicer to use pinentry, or at least to disable echoing, but those come with additional dependencies, which are undesirable for a basic example.
2021-01-19Add XEP-0373 (OpenPGP for XMPP) implementation notesdefanor
2021-01-06Print presence "show" and "status" in the consoledefanor
2020-12-02Set 'id' attributes for a few 'presence' stanzasdefanor
2020-11-30Add "leave" and "gtell" console commandsdefanor
2020-11-30Reconnect on "reset" and "system-shutdown" stream errorsdefanor
2020-11-29Assign random instead of sequential stanza IDsdefanor
2020-11-26Introduce rexmpp_strerrordefanor
2020-11-26Propagate more errors backdefanor
Still not certain whether rexmpp_run should return anything other than REXMPP_E_AGAIN and REXMPP_E_SUCCESS, since the library handles reconnects, but perhaps some errors could be critical. It should be sorted out in the future.
2020-11-25Show presences in roster listingdefanor
2020-11-25rexmpp_console: handle roster and subscription managementdefanor
2020-11-23Use stricter compiler checksdefanor
2020-11-23Add rexmpp_console_on_rundefanor
2020-11-22Increase the supported XEP-0373 versiondefanor
2020-11-22Add the console moduledefanor
2020-11-22Mention implemented XEP versionsdefanor
2020-11-20Handle XEP-0402: PEP Native Bookmarksdefanor
2020-11-20Add rexmpp_xml_parsedefanor
This is intended mostly for language bindings, which may prefer to avoid libxml2, and to rely on serialized XML for bridging.
2020-11-20Add XEP-0373 message verificationdefanor
2020-11-20Use gmtime_r instead of gmtimedefanor
2020-11-20Fix signcrypt's random padding's length, check for errorsdefanor
2020-11-20Don't include own JID into <signcrypt/>, always encrypt for selfdefanor
2020-11-19Sign messages with appropriate keysdefanor
That is, the keys which are both published for the account and available.
2020-11-19Implement XEP-0373: OpenPGP for XMPPdefanor
Various checks and utility functions should still be added, and it currently relies on gpg(1) for key generation and validation, but PEP-based key distribution and basic OpenPGP functionality are there.
2020-11-18Fill disco_info just before usedefanor
This allows to take into account the optional features configured between initialization and usage.
2020-11-17Support XEP-0163 (PEP) and XEP-0172 (User Nickname)defanor
2020-11-17Add initial JID parsingdefanor
2020-11-16Update headersdefanor
Forgot to remove <ares.h>.
2020-11-16Update the roadmapdefanor
2020-11-14Remove the c-ares dependencydefanor
2020-11-13Switch from c-ares to libunbounddefanor
libunbound supports DNSSEC, which is needed for DANE TLSA: GnuTLS verifies a certificate for the final host, but SRV and A/AAAA records leading to it should be verified as well. c-ares is still used to parse domain names in SRV records, but should be replaced soon.
2020-11-12Check server certificates using DANE (TLSA)defanor
Currently it is just experimental and does not affect the verification (except for adding a delay); perhaps the verification should be made configurable, including an option to rely on DANE.