kopia lustrzana https://github.com/robinmoisson/staticrypt
update doc for salt generation
rodzic
062e8eddb6
commit
689e318a40
15
README.md
15
README.md
|
@ -85,12 +85,11 @@ The password argument is optional if `STATICRYPT_PASSWORD` is set in the environ
|
||||||
localStorage when entered by the user. Set to
|
localStorage when entered by the user. Set to
|
||||||
"false" to hide the box. Default: "0", no
|
"false" to hide the box. Default: "0", no
|
||||||
expiration. [number] [default: 0]
|
expiration. [number] [default: 0]
|
||||||
-s, --salt Set the salt manually. It should be set if you
|
-s, --salt Generate a config file or set the salt manually.
|
||||||
want to use "Remember me" through multiple pages.
|
Pass a 32-character-long hexadecimal string to
|
||||||
It needs to be a 32-character-long hexadecimal
|
use as salt, or leave empty to generate, display
|
||||||
string.
|
and save to config a random salt. This won't
|
||||||
Include the empty flag to generate a random salt
|
overwrite an exisiting config file. [string]
|
||||||
you can use: "statycrypt -s". [string]
|
|
||||||
--share Get a link containing your hashed password that
|
--share Get a link containing your hashed password that
|
||||||
will auto-decrypt the page. Pass your URL as a
|
will auto-decrypt the page. Pass your URL as a
|
||||||
value to append "#staticrypt_pwd=<hashed_pwd>",
|
value to append "#staticrypt_pwd=<hashed_pwd>",
|
||||||
|
@ -223,7 +222,9 @@ The testing is done manually for now - you can run [build](#build), then open `e
|
||||||
|
|
||||||
## Community and alternatives
|
## Community and alternatives
|
||||||
|
|
||||||
Here are some other projects and community resources you might find interesting (this is included as an informative section, I haven't personally vetted any of those). If you have a StatiCrypt project you'd like to share, feel free to open an issue describing it.
|
Here are some other projects and community resources you might find interesting (this is included as an informative section, I haven't personally vetted any of those).
|
||||||
|
|
||||||
|
If you have a StatiCrypt project you'd like to share, feel free to open an issue describing it.
|
||||||
|
|
||||||
### Alternatives to StatiCrypt
|
### Alternatives to StatiCrypt
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "staticrypt",
|
"name": "staticrypt",
|
||||||
"version": "3.0.3",
|
"version": "3.0.4",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "staticrypt",
|
"name": "staticrypt",
|
||||||
"version": "3.0.3",
|
"version": "3.0.4",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"dotenv": "^16.0.3",
|
"dotenv": "^16.0.3",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "staticrypt",
|
"name": "staticrypt",
|
||||||
"version": "3.0.3",
|
"version": "3.0.4",
|
||||||
"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).",
|
"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",
|
"main": "index.js",
|
||||||
"files": [
|
"files": [
|
||||||
|
|
Ładowanie…
Reference in New Issue