You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-21Lines changed: 1 addition & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
This is a Ruby library for processing SSH keys and certificates.
4
4
5
-
The scope of this project is limited to processing and directly using keys and certificates. It can be used to generate SSH private keys, verify signatures using public keys, sign data using private keys, issue certificates using private keys, and parse certificates and public and private keys. This library supports RSA, DSA, ECDSA, and ED25519<sup>[*](#ed25519-support)</sup> keys. This library does not offer or intend to offer functionality for SSH connectivity, processing of SSH wire protocol data, or processing of other key formats or types.
5
+
The scope of this project is limited to processing and directly using keys and certificates. It can be used to generate SSH private keys, verify signatures using public keys, sign data using private keys, issue certificates using private keys, and parse certificates and public and private keys. This library supports RSA, DSA, ECDSA, and ED25519 keys. This library does not offer or intend to offer functionality for SSH connectivity, processing of SSH wire protocol data, or processing of other key formats or types.
6
6
7
7
**Project Status:** Used by @github in production
8
8
@@ -32,26 +32,6 @@ cert.public_key
32
32
#=> <SSHData::PublicKey::RSA>
33
33
```
34
34
35
-
## ED25519 support
36
-
37
-
Ruby's standard library does not include support for ED25519, though the algorithm is implemented by the [`ed25519` Gem](https://rubygems.org/gems/ed25519). This library can parse ED25519 public and private keys itself, but in order to generate keys or sign or verify messages, the calling application must load the `ed25519` Gem itself. This avoids the necessity of installing or loading this third party dependency when the calling application is only interested in parsing keys.
38
-
39
-
```ruby
40
-
require"ssh_data"
41
-
42
-
key_data =File.read("~/.ssh/id_ed25519")
43
-
key =SSHData::PrivateKey.parse_openssh(key_data)
44
-
#=> <SSHData::PrivateKey::ED25519>
45
-
46
-
SSHData::PrivateKey::ED25519.generate
47
-
#=> raises SSHData::AlgorithmError
48
-
49
-
require"ed25519"
50
-
51
-
SSHData::PrivateKey::ED25519.generate
52
-
#=> <SSHData::PrivateKey::ED25519>
53
-
```
54
-
55
35
## Contributions
56
36
57
37
This project is not currently seeking contributions for new features or functionality, though bug fixes are welcome. See [CONTRIBUTING.md](CONTRIBUTING.md) for more information.
0 commit comments