mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-10 14:51:06 +01:00
No description
2adc36ba0b
Summary: Ref T13454. Fixes T13006. When a user provide us with an SSH private key and (possibly) a passphrase: # Try to verify that they're correct by extracting the public key. # If that fails, try to figure out why it didn't work. Our success in step (2) will vary depending on what the problem is, and we may end up falling through to a very generic error, but the outcome should generally be better than the old approach. Previously, we had a very unsophisticated test for the text "ENCRYPTED" in the key body and questionable handling of the results: for example, providing a passphrase when a key did not require one did not raise an error. Test Plan: Created and edited credentials with: - Valid, passphrase-free keys. - Valid, passphrased keys with the right passphrase. - Valid, passphrase-free keys with a passphrase ("surplus passphrase" error). - Valid, passphrased keys with no passphrase ("missing passphrase" error). - Valid, passphrased keys with an invalid passphrase ("invalid passphrase" error). - Invalid keys ("format" error). The precision of these errors will vary depending on how helpful "ssh-keygen" is. Maniphest Tasks: T13454, T13006 Differential Revision: https://secure.phabricator.com/D20905 |
||
---|---|---|
bin | ||
conf | ||
externals | ||
resources | ||
scripts | ||
src | ||
support | ||
webroot | ||
.arcconfig | ||
.arclint | ||
.arcunit | ||
.editorconfig | ||
.gitignore | ||
LICENSE | ||
NOTICE | ||
README.md |
Phabricator is a collection of web applications which help software companies build better software.
Phabricator includes applications for:
- reviewing and auditing source code;
- hosting and browsing repositories;
- tracking bugs;
- managing projects;
- conversing with team members;
- assembling a party to venture forth;
- writing stuff down and reading it later;
- hiding stuff from coworkers; and
- also some other things.
You can learn more about the project (and find links to documentation and resources) at Phabricator.org
Phabricator is developed and maintained by Phacility.
SUPPORT RESOURCES
For resources on filing bugs, requesting features, reporting security issues, and getting other kinds of support, see Support Resources.
NO PULL REQUESTS!
We do not accept pull requests through GitHub. If you would like to contribute code, please read our Contributor's Guide.
LICENSE
Phabricator is released under the Apache 2.0 license except as otherwise noted.