Comments (4)
I see. I can connect to my servers with a empty passphrase keys. Thanks!
from sshwifty.
Hello,
I've just tested it a bit, and can confirm it works at my end.
Have the key been encrypted? We don't support encrypted keys as doing so would require user to handover more of their secrets to the software, which is of course bad for their own security.
Also, I've failed to found the source error message "cannot decode private key". The closest I did found was "ssh: cannot decode encrypted private keys" here.
If that was the actual message, then it confirms that the key is indeed encrypted, and you need to manually decrypt it in order for Sshwifty to recognize it.
However, if the message was "Cannot use encrypted Private Key file" and you are using a old version (Order than 0.0.8-alpha
that is), then there is a bug in the software which will block valid non-RSA private keys from been submitted. If this is the case, please use a newer version, lot's of other bugs has also been fixed since then.
from sshwifty.
Oh, sorry, yes, the message is "ssh: cannot decode encrypted private keys".
I'd like you to use ParseRawPrivateKeyWithPassphrase() instead of ParseRawPrivateKey(), so Sshwifty will recognize encrypted private keys. How about?
from sshwifty.
Sorry, I don't think I can do that. Because this software has been designed to collect as few data as possible.
If the software wants to decrypt user's private key, it will then have to collect the key passphrase, which is bad when you consider that later both information will be sent to the back-end server through public network.
An important background is, many people use one single passphrase to encrypt all of their private keys, effectively turning the passphrase to a master key. Handling and protecting a master key is too great of a responsibility for us, and a web app such as Sshwifty just doesn't have the power needed to fulfill it.
So, for the best interest of the user and their security, I have to refuse that. Hope you understand :)
from sshwifty.
Related Issues (20)
- 有没有可能开发这样的功能 HOT 5
- Feature request: light mode HOT 1
- 能否在URL里面带上登录用的参数? HOT 1
- webssh无法连接ipv6机器,显示:connect: cannot assign requested address HOT 5
- MacOS : safari cannot find server HOT 14
- Add homebrew as an install method for macOS HOT 8
- can I generate address with ID, IP address for the direct connect HOT 1
- Default password HOT 4
- time difference - how to sync docker time ? no timezone parameter for this project ? HOT 6
- [enter] keypress is not immediately sent to target HOT 4
- Remote font error on Edge browser HOT 7
- Connecting to the Local Host HOT 1
- Unable to connect to the Sshwifty backend server: TypeError: Cannot read properties of undefined (reading 'importKey') HOT 6
- Terminal canvas not scaling properly on firefox HOT 1
- no common algorithm for key exchange HOT 2
- Terminal optimization suggestions HOT 5
- Network issue : Not sure if it is a bug or I am looking for a feature HOT 2
- Allow multiple authentication methods HOT 1
- [help] 如何在不同的网络环境中获取不同的ssh连接,不和sshwifty容器在同一个网络中 可以用反向代理完成这个功能么? HOT 3
- Private key 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 sshwifty.