Skip to content
Browse files

Changed nonce size from 32 to 64

  • Loading branch information...
1 parent 8b2383e commit 8ddd78b36653a8cc9d104d864ed23bf8eefaa47e @harrisiirak committed
Showing with 24 additions and 3 deletions.
  1. +2 −2 README.md
  2. +1 −1 lib/adapters/oauth1.js
  3. +21 −0 package.json
View
4 README.md
@@ -1,4 +1,4 @@
-node-oauth-cleint
+node-oauth-client
========
-Yet another Node.js OAuth client library
+Yet another Node.js OAuth client library
View
2 lib/adapters/oauth1.js
@@ -29,7 +29,7 @@ function AuthorizationHeader(url, method, params, realm, fields, credentials) {
}
AuthorizationHeader._nonceKey = 'abcdefghijklmnopqrstuvwxyz0123456789'; // Base string for unique nonce generation
-AuthorizationHeader._nonceLength = 32;
+AuthorizationHeader._nonceLength = 64;
AuthorizationHeader.Fields = {
CONSUMER_KEY: 'oauth_consumer_key',
View
21 package.json
@@ -0,0 +1,21 @@
+{
+ "name": "node-oauth-client",
+ "description": "Yet another Node.js OAuth client library",
+ "version": "0.1.0",
+ "author": {
+ "name": "Harri Siirak",
+ "email": "harri.siirak@gmail.com"
+ },
+ "devDependencies": {
+ "express": "2.5.0"
+ },
+ "keywords": [
+ "oauth",
+ "auth"
+ ],
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/harrisiirak/node-oauth-client.git"
+ },
+ "_id": "node-oauth-client@0.1.0"
+}

0 comments on commit 8ddd78b

Please sign in to comment.
Something went wrong with that request. Please try again.