putty-key 1.0.0
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 +7 -0
- checksums.yaml.gz.sig +3 -0
- data.tar.gz.sig +1 -0
- data/.yardopts +7 -0
- data/CHANGES.md +4 -0
- data/Gemfile +14 -0
- data/LICENSE +19 -0
- data/README.md +137 -0
- data/Rakefile +110 -0
- data/lib/putty/key.rb +25 -0
- data/lib/putty/key/error.rb +26 -0
- data/lib/putty/key/openssl.rb +182 -0
- data/lib/putty/key/ppk.rb +374 -0
- data/lib/putty/key/util.rb +128 -0
- data/lib/putty/key/version.rb +6 -0
- data/putty-key.gemspec +29 -0
- data/test/fixtures/dss-1024-encrypted.ppk +17 -0
- data/test/fixtures/dss-1024.pem +12 -0
- data/test/fixtures/dss-1024.ppk +17 -0
- data/test/fixtures/ecdsa-secp256k1.pem +5 -0
- data/test/fixtures/ecdsa-sha2-nistp256-encrypted.ppk +10 -0
- data/test/fixtures/ecdsa-sha2-nistp256.pem +5 -0
- data/test/fixtures/ecdsa-sha2-nistp256.ppk +10 -0
- data/test/fixtures/ecdsa-sha2-nistp384-encrypted.ppk +11 -0
- data/test/fixtures/ecdsa-sha2-nistp384.pem +6 -0
- data/test/fixtures/ecdsa-sha2-nistp384.ppk +11 -0
- data/test/fixtures/ecdsa-sha2-nistp521-encrypted.ppk +12 -0
- data/test/fixtures/ecdsa-sha2-nistp521.pem +7 -0
- data/test/fixtures/ecdsa-sha2-nistp521.ppk +12 -0
- data/test/fixtures/rsa-2048-encrypted.ppk +26 -0
- data/test/fixtures/rsa-2048.pem +27 -0
- data/test/fixtures/rsa-2048.ppk +26 -0
- data/test/fixtures/test-blank-comment.ppk +11 -0
- data/test/fixtures/test-encrypted.ppk +11 -0
- data/test/fixtures/test-invalid-blob-lines.ppk +11 -0
- data/test/fixtures/test-invalid-encryption-type.ppk +11 -0
- data/test/fixtures/test-invalid-format-1.ppk +11 -0
- data/test/fixtures/test-invalid-format-3.ppk +11 -0
- data/test/fixtures/test-invalid-private-mac.ppk +11 -0
- data/test/fixtures/test-truncated.ppk +10 -0
- data/test/fixtures/test-unix-line-endings.ppk +11 -0
- data/test/fixtures/test.ppk +11 -0
- data/test/openssl_test.rb +252 -0
- data/test/ppk_test.rb +247 -0
- data/test/test_helper.rb +81 -0
- data/test/util_test.rb +180 -0
- data/test/version_test.rb +7 -0
- metadata +124 -0
- metadata.gz.sig +0 -0
metadata
ADDED
@@ -0,0 +1,124 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: putty-key
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Philip Ross
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIDdDCCAlygAwIBAgIBATANBgkqhkiG9w0BAQUFADBAMRIwEAYDVQQDDAlwaGls
|
14
|
+
LnJvc3MxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkWA2Nv
|
15
|
+
bTAeFw0xNTEwMDMxNDI1MThaFw0xNjEwMDIxNDI1MThaMEAxEjAQBgNVBAMMCXBo
|
16
|
+
aWwucm9zczEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYD
|
17
|
+
Y29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAkZzB+qfhmyY+XRvU
|
18
|
+
u310LMTGsTkR4/8JFCMF0YeQX6ZKmLr1fKzF3At1+DlI+v0t/G2FS6Dic0V3l8MK
|
19
|
+
JczyFh72NANOaQhAo0GHh8WkaeCf2DLL5K6YJeLpvkvp39oxzn00A4zosnzxM50f
|
20
|
+
Xrjx2HmurcJQurzafeCDj67QccaNE+5H+mcIVAJlsA1h1f5QFZ3SqQ4mf8St40pE
|
21
|
+
6YR4ev/Eq6Hb8aUoUq30otxbeHAEHh8cdVhTNFq7sPWb0psQRF2D/+o0MLgHt8PY
|
22
|
+
EUm49szlLsnjVXAMCHU7wH9CmDR/5Lzcrgqh3DgyI8ay6DnlSQ213eYZH/Nkn1Yz
|
23
|
+
TcNLCQIDAQABo3kwdzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQU
|
24
|
+
D5nzO9/MG4B6ygch/Pv6PF9Q5x8wHgYDVR0RBBcwFYETcGhpbC5yb3NzQGdtYWls
|
25
|
+
LmNvbTAeBgNVHRIEFzAVgRNwaGlsLnJvc3NAZ21haWwuY29tMA0GCSqGSIb3DQEB
|
26
|
+
BQUAA4IBAQAXSadI6IEalgGF0nk3laNNljSN2c4YnH9BXLjbkqMuKKzCH3N9BJIw
|
27
|
+
uajraaYF4POe4RYwofjgFD+pIJcyThbWF8Q0qHQSAym+b8StlDKIqdnU2WVKjpSU
|
28
|
+
/e4wIFQthMfxG0blBNeDTEAnlDg8f9lhRUC6U/vtAfayZGRZALlBxf1hLTuQM8Dq
|
29
|
+
BToABONINIJwjUzUEOx9ZtTdqi/nyldqpsHm+t2AYxGasUSkAEfpVECYnf9QpN16
|
30
|
+
tJbwPdSfFEA06U1LVTYbl0bHfmqYTZeb9CFlGMjLYSL2NFESn5ohzt6iL+ybPHX6
|
31
|
+
6MZp2lpZ1vzDLLMrF41xmdxGROtUrcyy
|
32
|
+
-----END CERTIFICATE-----
|
33
|
+
date: 2016-04-02 00:00:00.000000000 Z
|
34
|
+
dependencies: []
|
35
|
+
description: |
|
36
|
+
PuTTY::Key is a pure-Ruby implementation of the PuTTY private key (ppk) format,
|
37
|
+
handling reading and writing .ppk files. It includes a refinement to Ruby's
|
38
|
+
OpenSSL library to add support for converting DSA, EC and RSA private keys to
|
39
|
+
and from PuTTY private key files. This allows OpenSSH ecdsa, ssh-dss and ssh-rsa
|
40
|
+
private keys to be converted to and from PuTTY's private key format.
|
41
|
+
email: phil.ross@gmail.com
|
42
|
+
executables: []
|
43
|
+
extensions: []
|
44
|
+
extra_rdoc_files:
|
45
|
+
- CHANGES.md
|
46
|
+
- LICENSE
|
47
|
+
- README.md
|
48
|
+
files:
|
49
|
+
- ".yardopts"
|
50
|
+
- CHANGES.md
|
51
|
+
- Gemfile
|
52
|
+
- LICENSE
|
53
|
+
- README.md
|
54
|
+
- Rakefile
|
55
|
+
- lib/putty/key.rb
|
56
|
+
- lib/putty/key/error.rb
|
57
|
+
- lib/putty/key/openssl.rb
|
58
|
+
- lib/putty/key/ppk.rb
|
59
|
+
- lib/putty/key/util.rb
|
60
|
+
- lib/putty/key/version.rb
|
61
|
+
- putty-key.gemspec
|
62
|
+
- test/fixtures/dss-1024-encrypted.ppk
|
63
|
+
- test/fixtures/dss-1024.pem
|
64
|
+
- test/fixtures/dss-1024.ppk
|
65
|
+
- test/fixtures/ecdsa-secp256k1.pem
|
66
|
+
- test/fixtures/ecdsa-sha2-nistp256-encrypted.ppk
|
67
|
+
- test/fixtures/ecdsa-sha2-nistp256.pem
|
68
|
+
- test/fixtures/ecdsa-sha2-nistp256.ppk
|
69
|
+
- test/fixtures/ecdsa-sha2-nistp384-encrypted.ppk
|
70
|
+
- test/fixtures/ecdsa-sha2-nistp384.pem
|
71
|
+
- test/fixtures/ecdsa-sha2-nistp384.ppk
|
72
|
+
- test/fixtures/ecdsa-sha2-nistp521-encrypted.ppk
|
73
|
+
- test/fixtures/ecdsa-sha2-nistp521.pem
|
74
|
+
- test/fixtures/ecdsa-sha2-nistp521.ppk
|
75
|
+
- test/fixtures/rsa-2048-encrypted.ppk
|
76
|
+
- test/fixtures/rsa-2048.pem
|
77
|
+
- test/fixtures/rsa-2048.ppk
|
78
|
+
- test/fixtures/test-blank-comment.ppk
|
79
|
+
- test/fixtures/test-encrypted.ppk
|
80
|
+
- test/fixtures/test-invalid-blob-lines.ppk
|
81
|
+
- test/fixtures/test-invalid-encryption-type.ppk
|
82
|
+
- test/fixtures/test-invalid-format-1.ppk
|
83
|
+
- test/fixtures/test-invalid-format-3.ppk
|
84
|
+
- test/fixtures/test-invalid-private-mac.ppk
|
85
|
+
- test/fixtures/test-truncated.ppk
|
86
|
+
- test/fixtures/test-unix-line-endings.ppk
|
87
|
+
- test/fixtures/test.ppk
|
88
|
+
- test/openssl_test.rb
|
89
|
+
- test/ppk_test.rb
|
90
|
+
- test/test_helper.rb
|
91
|
+
- test/util_test.rb
|
92
|
+
- test/version_test.rb
|
93
|
+
homepage: https://github.com/philr/putty-key
|
94
|
+
licenses:
|
95
|
+
- MIT
|
96
|
+
metadata: {}
|
97
|
+
post_install_message:
|
98
|
+
rdoc_options:
|
99
|
+
- "--title"
|
100
|
+
- PuTTY::Key
|
101
|
+
- "--main"
|
102
|
+
- README.md
|
103
|
+
- "--markup"
|
104
|
+
- markdown
|
105
|
+
require_paths:
|
106
|
+
- lib
|
107
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - ">="
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: 2.1.0
|
112
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - ">="
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '0'
|
117
|
+
requirements: []
|
118
|
+
rubyforge_project:
|
119
|
+
rubygems_version: 2.6.2
|
120
|
+
signing_key:
|
121
|
+
specification_version: 4
|
122
|
+
summary: Reads and writes PuTTY private key (.ppk) files. Refines OpenSSL::PKey to
|
123
|
+
allow key conversion.
|
124
|
+
test_files: []
|
metadata.gz.sig
ADDED
Binary file
|