kondate 0.4.5 → 0.4.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 24c051f21350d702dd78dcf6c534438bbf2f929d
4
- data.tar.gz: ec827f31063169c30ebb94e091d6bf79b8bc6ece
3
+ metadata.gz: 766f35d8e8c48cc7efdf51d5e3effde5cec9caaa
4
+ data.tar.gz: efaa05013002a4efd7c7d86d1b37a78c63ce17a7
5
5
  SHA512:
6
- metadata.gz: e695c59aa1f7f4ae975b014af5c779fd0632d634d2f7446a601bb72a841c2e284cf357a3fc47f6bfb57f17702814475e9096cd269a863e052a1261b63dd5cbeb
7
- data.tar.gz: 9bbaf39a7b04903551f65ebf00810fa504786370179108457f13bcac4adb26d16d1518a8b8d421880e66043a2c531d5532da04e0369323d871bfacea8a3a2c47
6
+ metadata.gz: c3bdc4572ca6ce4b595e456e763bb54e6887b194058ed51aeb37d5683e653eb6e4d1f6a7ad3765239a2379e3dc52b9c2fc8752c303bf731f633aac9fbb069d80
7
+ data.tar.gz: e2bb2633c545070d44d7223ff7d16b2926bcbdcebed08ed536efa2b48c5af8e981679d2f2a434018614eff0bf8bc02069d34a4940a119076ba7939f179c9de67
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # 0.4.6 (2017-01-25)
2
+
3
+ Enhancements:
4
+
5
+ * Mask private rsa key
6
+
1
7
  # 0.4.5 (2017-01-23)
2
8
 
3
9
  Fixes:
@@ -25,7 +25,8 @@ module Kondate
25
25
 
26
26
  def mask_secrets(str)
27
27
  str.gsub(/(.*key[^:]*): (.*)$/, '\1: *******').
28
- gsub(/(.*password[^:]*): (.*)$/, '\1: *******')
28
+ gsub(/(.*password[^:]*): (.*)$/, '\1: *******').
29
+ gsub(/(-----BEGIN\s+PRIVATE\s+KEY-----)[0-9A-Za-z+\/=\s\\]+(-----END\s+PRIVATE\s+KEY-----)/m, '\1 xxxxx \2')
29
30
  end
30
31
  end
31
32
  end
@@ -1,3 +1,3 @@
1
1
  module Kondate
2
- VERSION = "0.4.5"
2
+ VERSION = "0.4.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kondate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - sonots
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-01-23 00:00:00.000000000 Z
11
+ date: 2017-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: itamae