Comments (3)
Currently it's the same as OpenSSH which defaults to SHA-512 for ssh-rsa
keys. You can swap the hash algorithm in the key using KeyPair::with_signature_hash
after reading it.
from russh.
Thanks, that will work for my use case, will look into this. I was confused by the openssh case because ssh-keygen
even on 9.7p1 will still yield SHA256 fprints by default.
Thanks for taking the time to investigate and for your dedication into this fork.
from russh.
No problem. The fingerprint is just a hash of the public key - the public key auth algorithm is independent from that.
from russh.
Related Issues (20)
- 100% cpu usage when send data with channel.data HOT 6
- How to serve a basic shell #2 HOT 10
- `decode_pkcs5` does not remove padding HOT 2
- `write_key_v1` writes `ed25519` key incorrectly HOT 1
- Missing ciphers HOT 2
- Blocking API
- russh-config: Opinion: deprecate parse_home() and add crate documentation that it parses an OpenSSH-like format HOT 1
- Incorrect sha2 hash function for ecdh-sha2-nistp{384,521}
- The new `Handler` definition makes it harder to build state machines HOT 2
- Support for SCP protocol
- FEATURE REQUEST: add a Geller Field when ssh
- `russh::server::Server::handle_session_error` seems to reference the new client instance rather than the one with the failed session HOT 5
- ERROR - Unsupported key type ssh-rsa HOT 2
- Host key checking is lazy
- Error with CryptoVec
- streamlocal-forward support HOT 3
- Why is String being used for Paths? HOT 1
- Unclear interaction between inactivity timer and server keepalive
- Shutdown ssh server HOT 1
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 russh.