benoitc [Sun, 23 Jun 2013 15:04:36 +0000 (17:04 +0200)]
fix typo
benoitc [Sat, 22 Jun 2013 13:08:38 +0000 (15:08 +0200)]
be compatible with R14 as well
benoitc [Fri, 21 Jun 2013 21:15:17 +0000 (23:15 +0200)]
fix support for R16
Benoit Chesneau [Wed, 4 Apr 2012 00:56:10 +0000 (02:56 +0200)]
export signature/5
Tim Fletcher [Sun, 18 Dec 2011 11:34:10 +0000 (11:34 +0000)]
Add a changelog
Tim Fletcher [Sun, 18 Dec 2011 11:30:57 +0000 (11:30 +0000)]
Bump version to 1.2.2
Tim Fletcher [Sun, 18 Dec 2011 11:29:47 +0000 (11:29 +0000)]
Update THANKS
Tim Fletcher [Sun, 18 Dec 2011 11:28:26 +0000 (03:28 -0800)]
Merge pull request #9 from naoyat/master
http_uri:parse(URI) now returns {ok,{Scheme,...}} in R15B
naoya_t [Sun, 18 Dec 2011 11:07:21 +0000 (20:07 +0900)]
http_uri:parse(URI) now returns {ok,{Scheme,...}} in R15B
Tim Fletcher [Mon, 17 Oct 2011 10:59:04 +0000 (11:59 +0100)]
Bump version to 1.2.1
Tim Fletcher [Mon, 17 Oct 2011 10:58:18 +0000 (11:58 +0100)]
Use verify_in_constant_time in plaintext signature verification
Tim Fletcher [Mon, 17 Oct 2011 10:57:33 +0000 (11:57 +0100)]
Keep consistent indentation
Tim Fletcher [Mon, 17 Oct 2011 10:56:40 +0000 (11:56 +0100)]
Remove last clause from verify_in_constant_time/2
Jan Lehnardt [Fri, 14 Oct 2011 13:57:17 +0000 (15:57 +0200)]
Use a constant time algorithm to compare signature strings.
This guards against timing attacks of the class outlined
in http://codahale.com/a-lesson-in-timing-attacks/
Tim Fletcher [Thu, 23 Jun 2011 15:17:02 +0000 (16:17 +0100)]
Update app file and bump version to 1.2.0
Tim Fletcher [Thu, 23 Jun 2011 15:16:41 +0000 (16:16 +0100)]
Update README
Tim Fletcher [Thu, 23 Jun 2011 15:04:00 +0000 (16:04 +0100)]
Add oauth:get/3 and oauth:post/3 functions
Tim Fletcher [Thu, 23 Jun 2011 15:00:29 +0000 (16:00 +0100)]
Combine modules and refactor
Tim Fletcher [Thu, 23 Jun 2011 12:26:10 +0000 (13:26 +0100)]
Move oauth_client module to github.com/tim/erlang-oauth-examples
Tim Fletcher [Sat, 29 Jan 2011 17:13:20 +0000 (17:13 +0000)]
Bump version to 1.1.1.
Tim Fletcher [Sat, 29 Jan 2011 17:11:11 +0000 (17:11 +0000)]
Use correct request parameter normalization algorithm.
Tim Fletcher [Sat, 29 Jan 2011 17:06:13 +0000 (17:06 +0000)]
Update copyright date.
Tim Fletcher [Mon, 24 Jan 2011 23:11:03 +0000 (23:11 +0000)]
Bump version to 1.1.0; at least R14B now required for RSA-SHA1.
Tim Fletcher [Mon, 24 Jan 2011 23:07:25 +0000 (23:07 +0000)]
List public_key application in .app file.
Tim Fletcher [Mon, 24 Jan 2011 22:59:42 +0000 (22:59 +0000)]
Merge branch 'r14b'
Tim Fletcher [Fri, 26 Nov 2010 15:59:15 +0000 (15:59 +0000)]
Up version to 1.0.2.
Tim Fletcher [Fri, 26 Nov 2010 15:58:55 +0000 (15:58 +0000)]
Add THANKS.
Tim Fletcher [Fri, 26 Nov 2010 15:31:52 +0000 (15:31 +0000)]
Use public_key-0.8 API (R14B).
Tim Fletcher [Fri, 26 Nov 2010 14:48:37 +0000 (14:48 +0000)]
Fold oauth_unix module into oauth module.
Tim Fletcher [Fri, 26 Nov 2010 14:46:00 +0000 (14:46 +0000)]
Fix formatting of exports (be consistent).
Tim Fletcher [Fri, 26 Nov 2010 14:41:20 +0000 (14:41 +0000)]
Allow httpc options to be passed through.
Tim Fletcher [Fri, 26 Nov 2010 14:19:37 +0000 (14:19 +0000)]
Move .app file to ebin; update Makefile.
Tim Fletcher [Fri, 26 Nov 2010 14:17:08 +0000 (14:17 +0000)]
Call this 1.0.1; update the .app file.
Jan Lehnardt [Fri, 26 Nov 2010 13:28:09 +0000 (14:28 +0100)]
Allow parsing of requests with no OAuth headers.
Tim Fletcher [Fri, 25 Jun 2010 17:43:15 +0000 (18:43 +0100)]
Use httpc module instead of http module.
Tim Fletcher [Tue, 6 Oct 2009 17:35:23 +0000 (18:35 +0100)]
Mention that percent encoding/decoding functions are based on those in ibrowse.
Tim Fletcher [Tue, 6 Oct 2009 17:13:51 +0000 (18:13 +0100)]
Add improved implementation of percent encoding/decoding functions.
Tim Fletcher [Sat, 26 Sep 2009 14:04:01 +0000 (15:04 +0100)]
Move compile options to Emakefile; simplify Makefile.
Tim Fletcher [Sat, 26 Sep 2009 14:01:16 +0000 (15:01 +0100)]
Fix oauth_client for missing content type response headers.
Tim Fletcher [Sat, 26 Sep 2009 13:44:42 +0000 (14:44 +0100)]
Add option for sending protocol parameters in either the header or querystring.
Tim Fletcher [Sat, 26 Sep 2009 13:03:49 +0000 (14:03 +0100)]
Add gen_server based oauth_client module.
Tim Fletcher [Sun, 19 Jul 2009 18:01:53 +0000 (19:01 +0100)]
README updates.
Jason Davies [Mon, 13 Jul 2009 22:02:42 +0000 (06:02 +0800)]
Add handy params_from_header_string/1.
For use when decoding the OAuth's "Authorization" header.
Signed-off-by: Tim Fletcher <tim@tfletcher.com>
Jason Davies [Mon, 13 Jul 2009 21:59:42 +0000 (05:59 +0800)]
Fix suspected bug in PLAINTEXT signature.
This JavaScript implementation:
http://oauth.googlecode.com/svn/code/javascript/oauth.js appears to
indicate that the signature only needs to be encoded once, not twice.
This makes erlang-oauth comply, assuming it is passed an already-decoded
signature to verify (which is usual when using something like Mochiweb,
for example).
Signed-off-by: Tim Fletcher <tim@tfletcher.com>
Roberto Aloi [Thu, 4 Jun 2009 09:17:53 +0000 (17:17 +0800)]
Specifying version key, to help automatic building tools to build the application.
Signed-off-by: Tim Fletcher <twoggle@gmail.com>
Tim Fletcher [Fri, 20 Mar 2009 09:42:22 +0000 (09:42 +0000)]
Use the public_key API; not the helper modules.
Tim Fletcher [Sat, 14 Mar 2009 11:56:40 +0000 (11:56 +0000)]
Fix README quick start prompt numbering.
Tim Fletcher [Sat, 14 Mar 2009 11:54:56 +0000 (11:54 +0000)]
Lowercase the host part when normalising URI.
Tim Fletcher [Wed, 25 Feb 2009 20:18:18 +0000 (20:18 +0000)]
Update README.
Tim Fletcher [Wed, 25 Feb 2009 14:16:51 +0000 (14:16 +0000)]
Move signature verification code into helper modules.
Tim Fletcher [Wed, 25 Feb 2009 12:52:38 +0000 (12:52 +0000)]
Remove oauth_signature from module list.
Tim Fletcher [Wed, 25 Feb 2009 12:51:41 +0000 (12:51 +0000)]
Add signature verification.
Tim Fletcher [Wed, 25 Feb 2009 12:45:38 +0000 (12:45 +0000)]
RSA-SHA1 keys are the consumer secret.
Tim Fletcher [Wed, 25 Feb 2009 12:36:37 +0000 (12:36 +0000)]
Integrate oauth_signature module with oauth module.
Tim Fletcher [Mon, 26 Jan 2009 08:52:13 +0000 (08:52 +0000)]
Use correct HTTP method in oauth:post/5.
Tim Fletcher [Tue, 13 Jan 2009 14:38:59 +0000 (14:38 +0000)]
Remove old test macros.
Tim Fletcher [Tue, 13 Jan 2009 14:26:20 +0000 (14:26 +0000)]
Update README.
Tim Fletcher [Tue, 13 Jan 2009 14:20:10 +0000 (14:20 +0000)]
Update copyright date.
Tim Fletcher [Tue, 13 Jan 2009 14:19:44 +0000 (14:19 +0000)]
Add an application resource file.
Tim Fletcher [Tue, 13 Jan 2009 14:18:51 +0000 (14:18 +0000)]
Add rewritten code.
Tim Fletcher [Tue, 13 Jan 2009 14:14:57 +0000 (14:14 +0000)]
Remove the test code.
Tim Fletcher [Tue, 13 Jan 2009 14:14:31 +0000 (14:14 +0000)]
Simplify the Makefile.
Tim Fletcher [Fri, 12 Dec 2008 23:57:20 +0000 (23:57 +0000)]
Don't autoredirect.
Tim Fletcher [Fri, 7 Nov 2008 17:23:30 +0000 (17:23 +0000)]
Update README.
Tim Fletcher [Fri, 7 Nov 2008 16:57:46 +0000 (16:57 +0000)]
Add Google contacts example.
Tim Fletcher [Fri, 7 Nov 2008 13:05:39 +0000 (13:05 +0000)]
Remove unused proplists_merge.
Tim Fletcher [Fri, 7 Nov 2008 13:01:53 +0000 (13:01 +0000)]
Add support for RSA-SHA1 signing.
Tim Fletcher [Fri, 7 Nov 2008 12:53:30 +0000 (12:53 +0000)]
Fix Makefile so that test modules recompile when changed.
Tim Fletcher [Fri, 7 Nov 2008 12:32:13 +0000 (12:32 +0000)]
Combine oauth_hmac and oauth_plaintext into oauth_crypto.
Tim Fletcher [Fri, 7 Nov 2008 12:27:17 +0000 (12:27 +0000)]
Rework oauth_request (again).
Tim Fletcher [Fri, 7 Nov 2008 11:32:53 +0000 (11:32 +0000)]
Add oauth_base module.
Tim Fletcher [Thu, 6 Nov 2008 23:06:10 +0000 (23:06 +0000)]
Remove oauth_http.
Tim Fletcher [Thu, 6 Nov 2008 23:03:36 +0000 (23:03 +0000)]
Rework oauth_request.
Tim Fletcher [Thu, 6 Nov 2008 22:59:39 +0000 (22:59 +0000)]
Rework oauth_token_pair.
Tim Fletcher [Thu, 6 Nov 2008 22:57:07 +0000 (22:57 +0000)]
Integrate oauth_signature with oauth_request.
Tim Fletcher [Thu, 6 Nov 2008 22:52:54 +0000 (22:52 +0000)]
Move proplists_merge into oauth_util.
Tim Fletcher [Thu, 6 Nov 2008 22:50:55 +0000 (22:50 +0000)]
Rework oauth_params.
Tim Fletcher [Thu, 6 Nov 2008 22:48:36 +0000 (22:48 +0000)]
Rework oauth_plaintext to use oauth_util:esprintf.
Tim Fletcher [Thu, 6 Nov 2008 22:48:04 +0000 (22:48 +0000)]
Add oauth_util:esprintf/2.
Tim Fletcher [Thu, 6 Nov 2008 22:00:13 +0000 (22:00 +0000)]
Remove b64 function.
Tim Fletcher [Thu, 6 Nov 2008 21:57:45 +0000 (21:57 +0000)]
Simplify normalize by adding to_string function.
Tim Fletcher [Thu, 6 Nov 2008 21:49:26 +0000 (21:49 +0000)]
Import fmt:percent_encode.
Tim Fletcher [Thu, 6 Nov 2008 21:45:20 +0000 (21:45 +0000)]
Add oauth_uri module.
Tim Fletcher [Thu, 6 Nov 2008 21:39:53 +0000 (21:39 +0000)]
Make export attribute style consistent.
Tim Fletcher [Thu, 6 Nov 2008 21:36:03 +0000 (21:36 +0000)]
Default to application/x-www-form-urlencoded in oauth_http:post.
Tim Fletcher [Thu, 6 Nov 2008 21:31:07 +0000 (21:31 +0000)]
Move test code to separate directory; rework Makefile.
Paul Bonser [Thu, 6 Nov 2008 03:06:28 +0000 (21:06 -0600)]
turn atoms into strings before sorting, since erlang sorts atoms before strings
Paul Bonser [Thu, 6 Nov 2008 03:00:39 +0000 (21:00 -0600)]
build the header in http:request format
Paul Bonser [Wed, 5 Nov 2008 23:41:45 +0000 (17:41 -0600)]
skip test code
Tim Fletcher [Thu, 23 Oct 2008 19:00:29 +0000 (20:00 +0100)]
Remove .gitignore file.
Tim Fletcher [Thu, 23 Oct 2008 19:00:04 +0000 (20:00 +0100)]
Assorted Makefile tweaks.
Tim Fletcher [Thu, 23 Oct 2008 18:39:23 +0000 (19:39 +0100)]
Use correct capitalization for Emakefile.
Tim Fletcher [Tue, 26 Aug 2008 11:55:30 +0000 (12:55 +0100)]
Ensure there is never an empty URI path component when generating the base string.
Tim Fletcher [Sun, 24 Aug 2008 15:39:15 +0000 (16:39 +0100)]
Add oauth_http module.
Tim Fletcher [Sun, 24 Aug 2008 15:36:02 +0000 (16:36 +0100)]
Style tweak.
Tim Fletcher [Sun, 24 Aug 2008 15:34:31 +0000 (16:34 +0100)]
Don't convert response parameter keys to atoms.
Tim Fletcher [Sun, 24 Aug 2008 15:25:15 +0000 (16:25 +0100)]
Update README.
Tim Fletcher [Sun, 24 Aug 2008 15:18:41 +0000 (16:18 +0100)]
Add new oauth_token_pair module.
Tim Fletcher [Sun, 24 Aug 2008 15:01:04 +0000 (16:01 +0100)]
Extract another module from oauth_request.
Tim Fletcher [Sun, 24 Aug 2008 14:54:04 +0000 (15:54 +0100)]
Don't use atoms to represent the HTTP method at all.