Commit graph

46 commits

Author SHA1 Message Date
781af5edef
Use dot syntax 2019-03-16 21:58:13 +01:00
d76fc4129d
Kill #ifdef HAVE_CONFIG_H
There no longer is an Xcode project for which it is needed.
2018-11-05 23:30:18 +01:00
b3244f0d9d
Fix compilation with GCC 2018-11-05 23:02:42 +01:00
3438e3569b
Modernize coding style 2018-11-05 22:22:12 +01:00
3c10a522cd
Fix SCRAM auth 2018-11-05 00:01:40 +01:00
631b4e1a9d
Stop using OFAutoreleasePool 2017-07-23 13:35:12 +02:00
cb5f6bfe40
Adjust to ObjFW changes & small fixes 2017-07-23 13:19:48 +02:00
5fa8b0b9b3
Adjust to ObjFW changes 2017-05-13 17:03:44 +02:00
73d3bca240
Fix URL in copyright header 2017-04-30 17:04:04 +02:00
091cdac2b2
Adjust to ObjFW changes 2017-01-22 00:49:14 +01:00
Florian Zeitz
358334a778 Adapt to ObjFW changes 2014-02-03 23:34:55 +01:00
ed5604447a Coding style. 2013-07-01 22:33:49 +02:00
9ae39edeb4 Use instancetype. 2013-06-23 23:41:47 +02:00
cd292b53fa Get rid of BOOL. 2013-06-23 21:57:46 +02:00
7f5c58ffc7 Adjust to reworked exception API. 2013-06-23 16:19:42 +02:00
Florian Zeitz
aa5109a788 Fix a use after free() bug in XMPPSCRAMAuth 2013-03-26 19:11:15 +01:00
d80dbedd1b Adjust to recent ObjFW changes. 2013-02-19 00:16:20 +01:00
4a016c271f Prefix all ivars with an underscore. 2013-02-12 22:36:39 +01:00
20e111024e Adjust to recent ObjFW changes. 2012-12-19 22:36:14 +01:00
f590ff46fe Don't access isa directly. 2012-07-12 05:34:20 +02:00
867450105e Adjust to latest ObjFW API changes. 2012-06-07 14:19:03 +02:00
d314c1b32d Update URL in copyright. 2012-03-21 11:56:56 +01:00
da76528178 Style improvements. 2012-01-26 13:35:05 +01:00
df5e8f04b4 Adjust to recent ObjFW changes. 2011-09-23 01:38:03 +02:00
Florian Zeitz
74727c159c Fix XMPPAuthenticator to support non-optimized message flow
While RFC6120 allows and encourages sending data with the success
message it is also legal to send the same data as a challenge and
await an empty response. This rework honors that fact.
2011-09-18 21:33:19 +02:00
Florian Zeitz
64f131641f Fix salt generation code 2011-09-16 15:11:54 +02:00
7c35be965c Update to recent ObjFW changes. 2011-09-12 22:08:45 +02:00
Florian Zeitz
7b07a24ec4 Remove obsolete comment 2011-09-10 20:24:38 +02:00
1f0ba6b533 Use an OFSet for mechanisms. 2011-09-10 18:17:35 +02:00
Florian Zeitz
62d2bd2ba5 Add support for SCRAM-SHA-1-PLUS 2011-09-10 16:08:25 +02:00
b24c7500fd Fix broken enum used as a bitmap. 2011-09-10 00:10:16 +02:00
2901e13cd5 Prevent a possible leak. 2011-09-09 16:42:39 +02:00
Florian Zeitz
f5559cb3e5 Optimize HMAC implementation 2011-09-09 03:42:33 +02:00
a85826c6ce Adjust to recent ObjFW changes. 2011-08-04 18:59:01 +02:00
ec3e12b62a Check for res_ndestroy. 2011-05-26 22:42:16 +02:00
f36f92f515 Adjust to recent ObjFW changes. 2011-04-23 22:40:32 +02:00
9547bd112f Use OpenSSL to generate the nonce. 2011-03-30 20:12:47 +02:00
b05300b119 Get rid of warnings. 2011-03-30 13:26:12 +02:00
5b16eaa1f0 Port to ObjC 1. 2011-03-29 03:46:20 +02:00
34966a35b5 Fix possible access to uninitialized values. 2011-03-21 19:01:52 +01:00
b836831b03 Make use of class extensions. 2011-03-21 18:05:35 +01:00
88b1e827a8 Add Xcode project. 2011-03-21 17:51:44 +01:00
c44fefa67c A little cleanup work. Still needs a configure script. 2011-02-25 23:52:29 +01:00
Florian Zeitz
ba13fa3e3a Rename XMPPAuthenticator functions 2011-02-24 22:44:51 +01:00
Florian Zeitz
a97bd9c3a6 Escape SCRAM usernames (authzid and authcid) 2011-02-24 19:51:53 +01:00
Florian Zeitz
d6227ca0a1 Add SCRAM-SHA-1 support
This adds the new base class XMPPAuthenticator and the derived
classes XMPPSCRAMAuth and XMPPPLAINAuth.
They are now used for authentication from within XMPPConnection.

Also adds XMPPAuthFailedException which is thrown in appropriate places.
2011-02-21 04:09:39 +01:00