You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ii...@apache.org on 2017/08/02 14:06:56 UTC

[1/2] oauth commit: updated refs/heads/master to 0285163

Repository: couchdb-oauth
Updated Branches:
  refs/heads/master 099057a98 -> 02851639f


Remove couch_crypto


Project: http://git-wip-us.apache.org/repos/asf/couchdb-oauth/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-oauth/commit/55d4441a
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-oauth/tree/55d4441a
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-oauth/diff/55d4441a

Branch: refs/heads/master
Commit: 55d4441ad235e89a1549dc8fd54edb43ee9442a8
Parents: 099057a
Author: ILYA Khlopotov <ii...@apache.org>
Authored: Tue Aug 1 14:29:50 2017 -0700
Committer: ILYA Khlopotov <ii...@apache.org>
Committed: Tue Aug 1 14:29:50 2017 -0700

----------------------------------------------------------------------
 src/oauth.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-oauth/blob/55d4441a/src/oauth.erl
----------------------------------------------------------------------
diff --git a/src/oauth.erl b/src/oauth.erl
index 56c7f7b..5f80008 100644
--- a/src/oauth.erl
+++ b/src/oauth.erl
@@ -128,7 +128,7 @@ hmac_sha1_signature(HttpMethod, URL, Params, Consumer, TokenSecret) ->
 
 hmac_sha1_signature(BaseString, Consumer, TokenSecret) ->
   Key = uri_join([consumer_secret(Consumer), TokenSecret]),
-  base64:encode_to_string(couch_crypto:hmac(sha, Key, BaseString)).
+  base64:encode_to_string(crypto:hmac(sha, Key, BaseString)).
 
 hmac_sha1_verify(Signature, HttpMethod, URL, Params, Consumer, TokenSecret) ->
   verify_in_constant_time(Signature, hmac_sha1_signature(HttpMethod, URL, Params, Consumer, TokenSecret)).


[2/2] oauth commit: updated refs/heads/master to 0285163

Posted by ii...@apache.org.
Merge remote branch 'cloudant:remove-couch_crypto'

This closes #2

Signed-off-by: ILYA Khlopotov <ii...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/couchdb-oauth/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-oauth/commit/02851639
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-oauth/tree/02851639
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-oauth/diff/02851639

Branch: refs/heads/master
Commit: 02851639fa4d5aa6a6c493cc38d32e4b078d48e2
Parents: 099057a 55d4441
Author: ILYA Khlopotov <ii...@apache.org>
Authored: Wed Aug 2 07:06:16 2017 -0700
Committer: ILYA Khlopotov <ii...@apache.org>
Committed: Wed Aug 2 07:06:16 2017 -0700

----------------------------------------------------------------------
 src/oauth.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------