Comments (2)
Yes, this is currently correct. The main reason we haven't added this support at the moment is that CryptoKit does not provide the algorithms required for us to support protected private keys (that is, private keys protected by passphrases). This is the overwhelmingly most common format for private keys on disk.
I think the most useful addition to work around this would be to add support for the ssh agent protocol, and use that as a potential backing for NIOSSHPrivateKey. This is admittedly a lot of work, but it circumvents the need for us to manage the protection of the key at all, and encourages good SSH key hygiene.
from swift-nio-ssh.
Not if you plan on using this on IOS 😄
from swift-nio-ssh.
Related Issues (20)
- Setup API breakage testing
- Simple SSH Client port forwarding HOT 4
- Cleanup once NIO adopts Sendable HOT 3
- NIOSSHError.keyExchangeNegotiationFailure HOT 4
- Support keyboard-interactive authentication HOT 3
- iOS: upload file to sshd server HOT 1
- Crash in `SSHChildChannel` HOT 4
- Authentication Failed using Private Key,Public Key HOT 15
- ChannelError: operationUnsupported when executing commands from a daemon HOT 5
- Error when adding swift-nio-ssh HOT 3
- NIOSSHClientUserAuthenticationDelegate Improvement Request: Result Reporting HOT 2
- Support OpenSSH Keys HOT 4
- How to validate host keys (i.e. how to access information about `NIOSSHPublicKey`)? HOT 11
- Client remote port forwarding? HOT 2
- Clients should tolerate arbitrary lines before SSH version in banner
- How to use Swift Nio SSH? HOT 3
- NIOSSHClient gets stucked HOT 12
- Channel closes after 1 command / Executing multiple requests on the same channel HOT 10
- Child channels can not access their own peerMaxMessageSize HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swift-nio-ssh.