muchsecrets 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/bin/muchsecrets +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: adec4d39b34c2752ff168ed3ae89dcede0f04776
|
4
|
+
data.tar.gz: e883ab2ace23804580ec27785e08a451154fb6dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88317d894197dbc3ac2866e1c0383bf5b3b80c91166dd78b81b093a415e8794dcede2ebe293d2ad6dab7ad644a4bc3c1ae7afbfd059d74f0b3a39278bc40c093
|
7
|
+
data.tar.gz: 2d1da46a30ded3ce7122683b75adbb29ecb3bdd85bfab43c115d74f064f69566c4828edaacc63f1b55c23110ffa6eed53db00025e241693dfa8863d0ab700835
|
data/README.md
CHANGED
@@ -18,7 +18,7 @@ What's this useful for? Pulling encrypted secrets from [Consul](https://consul.i
|
|
18
18
|
|
19
19
|
Use the command line executable to encrypt:
|
20
20
|
```
|
21
|
-
:$ muchsecrets --encrypt --publickey
|
21
|
+
:$ muchsecrets --encrypt --publickey application.pem --string "such_privacy"
|
22
22
|
|
23
23
|
-----BEGIN PKCS7-----
|
24
24
|
MIIDMwYJKoZIhvcNAQcDoIIDJDCCAyACAQAxggLgMIIC3AIBADCBwzCBtTELMAkG
|
data/bin/muchsecrets
CHANGED
@@ -79,7 +79,7 @@ if options[:encrypt]
|
|
79
79
|
|
80
80
|
# encrypt and print string
|
81
81
|
wow = MuchSecrets::Secret.new(:public_key => options[:publickey])
|
82
|
-
puts wow.encrypt_string(string_to_encrypt)
|
82
|
+
puts wow.encrypt_string(string_to_encrypt.chomp)
|
83
83
|
|
84
84
|
elsif options[:decrypt]
|
85
85
|
# need the public and private keys for decrypting.
|