Page MenuHomePhabricator

Don't leave temporary files around when trying to use credentials with destroyed secrets
ClosedPublic

Authored by epriestley on Aug 21 2014, 6:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 25, 1:24 AM
Unknown Object (File)
Thu, Apr 11, 12:14 AM
Unknown Object (File)
Sun, Mar 31, 6:54 PM
Unknown Object (File)
Mar 23 2024, 11:16 PM
Unknown Object (File)
Mar 23 2024, 9:13 PM
Unknown Object (File)
Mar 11 2024, 10:03 AM
Unknown Object (File)
Mar 11 2024, 10:03 AM
Unknown Object (File)
Mar 3 2024, 3:25 PM
Subscribers

Details

Summary

Ref T4284. This fixes at least one problem which can cause the observed behavior.

Test Plan
  • Before applying patch, used PHABRICATOR_CREDENTIAL=PHID-CDTL-... bin/ssh-connect + debugging prints to verify the keyfile was written and cleaned up normally.
  • Destroyed the credental, verified the temporary file was not cleand up correctly.
  • Applied patch, verified temporary file was not written and command exited with sensible error.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley retitled this revision from to Don't leave temporary files around when trying to use credentials with destroyed secrets.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Aug 21 2014, 6:24 PM
epriestley updated this revision to Diff 24863.

Closed by commit rP241cfc2e8312 (authored by @epriestley).