mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-31 00:48:21 +01:00
Handle SSH generated keys in Conduit passphrase.query
Summary: Fixes T6601 Test Plan: echo '{"ids":["71"],"needPublicKeys":true,"needSecrets":false}' | arc call-conduit passphrase.query Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley Maniphest Tasks: T6601 Differential Revision: https://secure.phabricator.com/D10885
This commit is contained in:
parent
5e0f218fe4
commit
c07425c534
1 changed files with 1 additions and 0 deletions
|
@ -79,6 +79,7 @@ final class PassphraseQueryConduitAPIMethod
|
|||
$material['publicKey'] = $public_key;
|
||||
}
|
||||
break;
|
||||
case PassphraseCredentialTypeSSHGeneratedKey::CREDENTIAL_TYPE:
|
||||
case PassphraseCredentialTypeSSHPrivateKeyText::CREDENTIAL_TYPE:
|
||||
if ($secret) {
|
||||
$material['privateKey'] = $secret;
|
||||
|
|
Loading…
Add table
Reference in a new issue