rex-socket 0.1.23 → 0.1.24

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
  SHA256:
3
- metadata.gz: 3a33eccf6509da043ca550670f24c63d6ba5570585f3fc2325f5223bc4aff97b
4
- data.tar.gz: 6c64549bf503703c498aa43eef47cd8d80c112f770f16d5ae79c3edbf5306eb0
3
+ metadata.gz: 7a3ef67ae8bd23b0e0b85c459748cec22f99bd99d296d0388c8831d2f45a49b3
4
+ data.tar.gz: 88175f6a22f757299c3f0f4e4689555ccfbf34d79c1eb9b722e1caa505849ea6
5
5
  SHA512:
6
- metadata.gz: 9c14624e4341560dbfbab361160d3f90a0674a9ddc09876f49a34fa5ff0c8e4f7f142b5060a82be8fa4ea80be6a004e733876e6dcba78aebb0bd0641a635a584
7
- data.tar.gz: 8ccbaaaf6dc9ae3b53dacdf15d5031581b6efe8b9fb15cf8f841968783ffe67114b71d1b24caf79d0332c5983cf189f02eb7192e01b53caed769a653aba5f4b6
6
+ metadata.gz: 158ed62e8cadbbf95175372bd3e44289e3d2bc1c0cbcc6e80c5803ece3e7f7186ba13cf5f40b2233dbafaf82fb056e4975bc28edebdf446b4ab7147c343dc9de
7
+ data.tar.gz: 9a069f248fb298505dedb93426b064a2c157989f73c649efc92948269679c4d527e0b5909662042229a46e96106a83eb3dd4d602a1879f6beeacaeed6afac88e
Binary file
data.tar.gz.sig CHANGED
@@ -1,2 +1,3 @@
1
- �ùW�N��4xOQlE���Kf���un��V{dUfp&��ö�x]tP6gU�ҕ����L������Pn�)�$����o}:�lth�ʈ�!�6~�F�V����L#H��V1N����1<(��^��k��
2
- �N �^I���ٚ�!��s۽�'b O�
1
+ ϟۇA���v�����K&m㼼rI:��� ����9�9�|����|�@�W0�0a��\�z/��z��0V��8����aBs�%Dߦ� _{]HG U!̫���SH=(k����i|R���̾��3e�7� to±3_��3��� y�ɰ�_��e �H�\�.F�@F�c.a—�N�� �q�� �!Rv�U}���F����������r
2
+ "kt=�(
3
+ ��&�2G^�y�$�u��&V���
@@ -1,5 +1,5 @@
1
1
  module Rex
2
2
  module Socket
3
- VERSION = "0.1.23"
3
+ VERSION = "0.1.24"
4
4
  end
5
5
  end
@@ -28,7 +28,9 @@ class X509Certificate
28
28
 
29
29
  certs = []
30
30
  ssl_cert.scan(/-----BEGIN\s*[^\-]+-----+\r?\n[^\-]*-----END\s*[^\-]+-----\r?\n?/nm).each do |pem|
31
- if pem =~ /PRIVATE KEY/
31
+ if pem =~ /EC PRIVATE KEY/
32
+ key = OpenSSL::PKey::EC.new(pem)
33
+ elsif pem =~ /PRIVATE KEY/
32
34
  key = OpenSSL::PKey::RSA.new(pem)
33
35
  elsif pem =~ /CERTIFICATE/
34
36
  certs << OpenSSL::X509::Certificate.new(pem)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rex-socket
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.23
4
+ version: 0.1.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Maloney
@@ -93,7 +93,7 @@ cert_chain:
93
93
  JI/W23RbIRksG2pioMhd4dCXq3FLLlkOV1YfCwWixNB+iIhQPPZVaPNfgPhCn4Dt
94
94
  DeGjje/qA4fkLtRmOtb9PUBq3ToRDE4=
95
95
  -----END CERTIFICATE-----
96
- date: 2020-03-21 00:00:00.000000000 Z
96
+ date: 2020-09-22 00:00:00.000000000 Z
97
97
  dependencies:
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: bundler
metadata.gz.sig CHANGED
@@ -1,4 +1 @@
1
- �t����bOor��xb�8�'a�"vOU��,s�/C���Z��g�
2
- a�e�b�#�u'Bˢ�lKL�.����7;��wd�[t��
3
- >���w%�ö�i'G'K�ǭ�?ӽv��쇚�����K��}�@������gGL��{�+��et�N!I���T�/RPϡ P����+U=Jh�V���^�N� �p[�_2ri�*e��
4
- �j��m% �ub�O�(�L���Bp!kL�����f�T
1
+ nECza��??��°p