aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeLines
...
| * Fix compatibility with old GnuTLS versions, but with a warning. SeeWilmer van der Gaast2011-12-24-0/+4
| | | | | | | | | | http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-1417 for details.
| * tls_verify correction: Don't fail cert verification in non-GnuTLS modulesWilmer van der Gaast2011-12-23-10/+6
| | | | | | | | | | unless "cafile" setting is enabled.
| * Merging SSL certificate verification for GnuTLS, with help from AopicieR.Wilmer van der Gaast2011-12-23-28/+224
| |\
| | * Add verify argument to ssl_connect() so HTTPS-based stuff is also secure.Wilmer van der Gaast2011-12-19-8/+21
| | | | | | | | | | | | | | | (Think of Twitter, but also MSN/Yahoo! authentication.)
| | * Move conversion of status codes to status messages into SSL libs.Wilmer van der Gaast2011-12-19-0/+50
| | |
| | * Initial merge of tls_verify patch from AopicieR.Wilmer van der Gaast2011-12-19-20/+154
| | |
| * | Catch condition=G_IO_NVAL from glib's event handler, which should preventWilmer van der Gaast2011-12-19-0/+3
| |/ | | | | | | | | some crashes on unclean shutdowns of connections.
* | Fixed a bug that probably (can't test this now since it's down) broke OAuthWilmer van der Gaast2011-12-21-0/+2
| | | | | | | | | | setup for identi.ca. Turning on oauth for identi.ca accounts by default now.
* | Use sha1_hmac() instead of reimplementing the algorithm in oauth_sign().Wilmer van der Gaast2011-12-21-42/+9
| |
* | NULL-checking in rfc822_get_header() and OAuth response handling.Wilmer van der Gaast2011-12-20-2/+5
| |
* | When updating the XMPP password field with OAuth data, try harder to preserveWilmer van der Gaast2011-12-19-0/+1
| | | | | | | | | | existing data. (Like refresh tokens which we'll need again on next login.)
* | Give a list of SASL mechanisms supported by a server when reporting we don'tWilmer van der Gaast2011-12-19-1/+1
| | | | | | | | | | support any of them.
* | Facebook OAuth2 should now be fully usable.Wilmer van der Gaast2011-12-19-1/+23
| |
* | Moving msn_findheader() to lib/misc.c as get_rfc822_header() so I can use itWilmer van der Gaast2011-12-19-3/+53
| | | | | | | | | | in OAuth as well. (Need it to find the Content-Type: header.)
* | More generic OAuth support now. Should work well for all GTalk accounts nowWilmer van der Gaast2011-12-18-26/+9
| | | | | | | | | | | | and somewhat for MS Messenger. The fb part needs different parsing of the authorize request, and possibly some other work.
* | Mainline merge.Wilmer van der Gaast2011-12-17-46/+116
|\|
| * Support HTTP/1.1 redirect status codes and use HTTPS for OAuth setup. ThisWilmer van der Gaast2011-12-11-6/+22
| | | | | | | | | | | | is required for identi.ca and really should be done for Twitter as well. Twitter OAuth is still broken though, it seems to disagree about signatures.
| * Debug output tweaks: Try to send everything to stderr, and add ifdef toWilmer van der Gaast2011-12-04-11/+13
| | | | | | | | | | enable printing of all SSL traffic.
| * Somewhat improve debug logging of HTTP/SOAP stuff.Wilmer van der Gaast2011-12-02-2/+10
| |
| * GnuTLS now also needs ssl_pending() implemented. Bug #860.Wilmer van der Gaast2011-11-14-17/+28
| |
| * Cleanup of http_client fix. Use g_strdup_printf and completely avoid strcat,Wilmer van der Gaast2011-11-13-14/+21
| | | | | | | | | | truncate request if we switched from POST to GET.
| * Undoing old workaround for MSN troubles and added more proper fix. TheWilmer van der Gaast2011-11-12-4/+7
| | | | | | | | | | | | http_client module needs some refactoring though. Will do that later.. This should hopefully fix bug #850.
| * Strip illegal characters in generated XML streams so Jabber servers won'tWilmer van der Gaast2011-10-20-2/+25
| | | | | | | | | | | | | | disconnect people who don't understand how to disable stupid IRC client features. Based very loosely on a patch and discussion submitted by Artem Savkov on bug #552.
* | Had to change the OAuth secret for GTalk.Wilmer van der Gaast2011-08-04-1/+1
| |
* | OAuth code cleanup.Wilmer van der Gaast2011-07-31-0/+3
| |
* | Facebook authentication. This isn't really OAuth in the end: FB doesn'tWilmer van der Gaast2011-07-31-0/+1
| | | | | | | | | | | | really support desktop app OAuth in a way that would work with BitlBee. Plus, it's only OAuth-compliant by, err, name?
* | oauth2 changes to address http://twitter.com/Wilmer/status/96715400124968960Wilmer van der Gaast2011-07-31-8/+22
| |
* | Export oauth_params_parse().Wilmer van der Gaast2011-07-31-1/+2
| |
* | Having written the same stupid code (ASCII MD5 hashes) 205762 times, time toWilmer van der Gaast2011-07-31-0/+11
| | | | | | | | | | have a function for it..
* | Working OAuth2 support. Needs some more debugging (error handling is notWilmer van der Gaast2011-07-26-34/+158
| | | | | | | | | | great and imc_logout() gets (rightfully) confused when jabber_data is empty).
* | Nothing useful yet, this just generates an auth URL. Things to do: AbilityWilmer van der Gaast2011-07-22-1/+112
|/ | | | | | | | | | to process the answer. This is hard because the GTalk server will time out very quickly which means we lose our state/scope/etc. (And the ability to even receive the answer, at least if I'd do this the same way the Twitter module does it.) And then, get the access token and use it, of course. :-)
* Fixed dumb file descriptor leak.Wilmer van der Gaast2011-07-12-0/+1
|
* Fixed use of g_iconv() in do_iconv(). This was done wrong for ages andWilmer van der Gaast2011-07-02-4/+4
| | | | | | apparently screwed up charset handling in OSCAR pretty badly.. Found and fixed by dalias (#813). May or may not also fix other bugs.
* Send Connection: close headers so webservers won't try keepalive connectionsWilmer van der Gaast2011-04-18-0/+2
| | | | | which http_client really can't deal with.
* Fix GnuTLS >2.12 or so compatibility.Wilmer van der Gaast2011-04-18-0/+1
| | | | | Bug #779 and https://savannah.gnu.org/support/index.php?107660
* Tweaks to allow authenticating to identi.ca with OAuth. Doesn't seem to workWilmer van der Gaast2011-03-27-2/+6
| | | | | | | completely for whatever the reason may be (invalid signature). I give up for now. Stuff does actually work if you generate access tokens using different software so BitlBee's definitely able to generate good signatures.
* Removed duplicate ssl_pending from ssl_bogus.Wilmer van der Gaast2011-03-07-5/+0
|
* Twitter: Warn the user if the OAuth username and the configured usernameWilmer van der Gaast2011-03-07-6/+9
| | | | | | don't match. This is not a real problem but can be confusing if you don't expect it.
* Implement ssl_pending() for NSS. This fixes bug #368 which so far onlyWilmer van der Gaast2010-12-19-1/+7
| | | | | affected OpenSSL. Submitted by Ricky Zhou.
* Fix up NSS SSL module.Wilmer van der Gaast2010-11-20-0/+32
|
* Another compatibility fix: AI_ADDRCONFIG doesn't exist on some systems.Wilmer van der Gaast2010-10-24-0/+3
|
* Use gcrypt for 3DES encryption (used for new MSN authentication) so weWilmer van der Gaast2010-10-16-4/+28
| | | | | mostly don't need lib/des.c anymore.
* Merging OTR branch. It's more or less a plugin if you enable it, andWilmer van der Gaast2010-10-09-15/+55
|\ | | | | | | | | otherwise a no-op. DO NOT INSTALL THIS ON PUBLIC SERVERS.
| * Make sure events_*.c are fully compatible to callers so plugins built forWilmer van der Gaast2010-10-02-4/+7
| | | | | | | | | | a different flavour will still work.
| * Merging mainline, which includes a huge msnp13 merge.Wilmer van der Gaast2010-10-02-20/+880
| |\ | | | | | | | | | | | | | | | Not 100% sure about the OpenSSL merge, should double check that but I'm currently offline.
| * \ Merge mainline stuff.Wilmer van der Gaast2010-08-31-0/+3
| |\ \
| * \ \ First step in this merge. Mostly a bzr merge and then a cleanup of conflictsWilmer van der Gaast2010-08-24-9/+47
| |\ \ \ | | | | | | | | | | | | | | | | | | | | and parts I want to/have to redo (because of ui-fix).
| | * \ \ merge in bitlbee headSven Moritz Hallberg2010-06-04-3/+2
| | |\ \ \
| | * \ \ \ merge in bitlbee 1.2.7Sven Moritz Hallberg2010-06-03-6/+568
| | |\ \ \ \
| | * \ \ \ \ merge in bitlbee 1.2.6Sven Moritz Hallberg2010-06-03-0/+36
| | |\ \ \ \ \