kopia lustrzana https://github.com/robinmoisson/staticrypt
fix: cast password to string. Closes #149
Number-only passwords were breaking crypto-jspull/150/head
rodzic
e4dfffb267
commit
158668677d
|
@ -65,7 +65,7 @@ function getPassword(positionalArguments) {
|
|||
exitEarly("Missing password: please provide an argument or set the STATICRYPT_PASSWORD environment variable in the environment or .env file");
|
||||
}
|
||||
|
||||
return positionalArguments[1];
|
||||
return positionalArguments[1].toString();
|
||||
}
|
||||
exports.getPassword = getPassword;
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "staticrypt",
|
||||
"version": "2.3.2",
|
||||
"version": "2.3.3",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "staticrypt",
|
||||
"version": "2.3.2",
|
||||
"version": "2.3.3",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"crypto-js": "3.1.9-1",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "staticrypt",
|
||||
"version": "2.3.2",
|
||||
"version": "2.3.3",
|
||||
"description": "Based on the [crypto-js](https://github.com/brix/crypto-js) library, StatiCrypt uses AES-256 to encrypt your input with your passphrase and put it in a HTML file with a password prompt that can decrypted in-browser (client side).",
|
||||
"main": "index.js",
|
||||
"files": [
|
||||
|
|
Ładowanie…
Reference in New Issue