muchsecrets 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/bin/muchsecrets +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 46a037577a9dd00f6d594cee1d3a7b12f53fd510
4
- data.tar.gz: fe3f8ca23d1b1dbc6bfaf51ca70c467b5e878a6e
3
+ metadata.gz: adec4d39b34c2752ff168ed3ae89dcede0f04776
4
+ data.tar.gz: e883ab2ace23804580ec27785e08a451154fb6dd
5
5
  SHA512:
6
- metadata.gz: db9a765ec0505bdf95642762527bc4e7bfcc010106d661e0fd822510eefda6342f40320cd40d894c40fc14d630fbefa925735d7551153b2cb0b13ce83f057e48
7
- data.tar.gz: 6e4f82f2c02c1567a7fa7897989ae46caf6384131324c4429712346c42f370b818f25be1985688829e65cc637b9fd799bae82cd68feb55550ede64b78cdee649
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 shared-production-wc1.pem --string "such_privacy"
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.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: muchsecrets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pat O'Brien