diff --git a/lib/com.daplie.walnut.current/scripts/daplie-pbkdf2.js b/lib/com.daplie.walnut.current/scripts/daplie-pbkdf2.js index 15048f5..d7c31e7 100644 --- a/lib/com.daplie.walnut.current/scripts/daplie-pbkdf2.js +++ b/lib/com.daplie.walnut.current/scripts/daplie-pbkdf2.js @@ -92,11 +92,11 @@ // First, create a PBKDF2 "key" containing the passphrase return crypto.subtle.importKey( - "raw", - Unibabel.utf8ToBuffer(nodeObj.secret), - { "name": kdf.kdf }, - false, - ["deriveKey"]). + "raw" + , Unibabel.utf8ToBuffer(nodeObj.secret) + , { "name": kdf.kdf } + , false + , ["deriveKey"]). // Derive a key from the password then(function (passphraseKey) { var keyconf = { diff --git a/lib/com.daplie.walnut.current/scripts/pbkdf2.webcrypto.test.js b/lib/com.daplie.walnut.current/scripts/pbkdf2.webcrypto.test.js index 1ea26b5..0063310 100644 --- a/lib/com.daplie.walnut.current/scripts/pbkdf2.webcrypto.test.js +++ b/lib/com.daplie.walnut.current/scripts/pbkdf2.webcrypto.test.js @@ -26,11 +26,11 @@ // First, create a PBKDF2 "key" containing the password return crypto.subtle.importKey( - "raw", - Unibabel.utf8ToBuffer(passphrase), - { "name": kdfname }, - false, - ["deriveKey"]). + "raw" + , Unibabel.utf8ToBuffer(passphrase) + , { "name": kdfname } + , false + , ["deriveKey"]). // Derive a key from the password then(function (passphraseKey) { return crypto.subtle.deriveKey( diff --git a/tests/schemes-config.js b/tests/schemes-config.js index 60cf6db..789135a 100644 --- a/tests/schemes-config.js +++ b/tests/schemes-config.js @@ -30,7 +30,7 @@ var results = { {"id":"org.oauth3_oauth3.org","apiId":"org.oauth3","domainId":"oauth3.org"} , {"id":"org.oauth3_hellabit.com#connect###","apiId":"org.oauth3","domainId":"hellabit.com#connect###"} ] -,"appsDomains":[ +, "appsDomains":[ {"id":"oauth3-app_oauth3.org","appId":"oauth3-app","domainId":"oauth3.org"} , {"id":"hellabit-app_hellabit.com","appId":"hellabit-app","domainId":"hellabit.com"} , {"id":"hellabit-app_hellabit.com###","appId":"hellabit-app","domainId":"hellabit.com#connect###"}