localvault 1.11.1 → 1.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/localvault/cli/team_helpers.rb +5 -1
- data/lib/localvault/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1f7a9ef056579778ef2dabd22148af8fe8fbd19b2e0b4aefafde3c9eb6a454ee
|
|
4
|
+
data.tar.gz: e5006419cb47849c63a7f4c123ba661e6c95bd2f93fe8ef3230faff2ab5fe7ec
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9cfc5a0d2635e86601077c1600f58339252262960663d39e45213ff59aeca09ec47c8a8e392e2ad16a0d4e7b2731b500b33d268c239e44b2567ea2b09cd51ef0
|
|
7
|
+
data.tar.gz: 8a14b7b627c493f710c89738c0726f2cc4bca895996a76fcfca4801ff46aaf5047f27a7480aec157b876e807c757f0b3cb9dd3e9bfbe0ffe9d3313ce7dcfe5f8
|
data/README.md
CHANGED
|
@@ -19,7 +19,7 @@ brew install inventlist/tap/localvault
|
|
|
19
19
|
### Install script (no Homebrew)
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
|
-
curl -sSL https://
|
|
22
|
+
curl -sSL https://inventlist.com/tools/localvault/install.sh | sh
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
Installs into an isolated prefix (`~/.localvault/runtime`) and writes a wrapper
|
|
@@ -32,7 +32,11 @@ module LocalVault
|
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
passphrase = prompt_passphrase("Passphrase for '#{vault_name}': ")
|
|
35
|
-
|
|
35
|
+
if passphrase.nil? || passphrase.empty?
|
|
36
|
+
$stderr.puts "Error: Vault '#{vault_name}' is locked and no passphrase was entered."
|
|
37
|
+
$stderr.puts "Run: localvault unlock #{vault_name} # caches the passphrase for this session"
|
|
38
|
+
return nil
|
|
39
|
+
end
|
|
36
40
|
|
|
37
41
|
vault = Vault.open(name: vault_name, passphrase: passphrase)
|
|
38
42
|
vault.all # raises Crypto::DecryptionError on wrong passphrase
|
data/lib/localvault/version.rb
CHANGED