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
F19031609: D10328.id24863.diff
Tue, Nov 25, 2:02 AM
F18825721: D10328.id24859.diff
Oct 23 2025, 11:50 PM
F18736414: D10328.diff
Oct 1 2025, 5:50 AM
F18712125: D10328.id.diff
Sep 29 2025, 5:16 AM
F18703135: D10328.id.diff
Sep 28 2025, 3:03 AM
F18655840: D10328.diff
Sep 22 2025, 8:48 PM
F18655520: D10328.diff
Sep 22 2025, 8:08 PM
F18504043: D10328.id.diff
Sep 4 2025, 11:33 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).