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)
Tue, Jan 28, 9:20 PM
Unknown Object (File)
Thu, Jan 23, 8:30 PM
Unknown Object (File)
Thu, Jan 23, 6:55 PM
Unknown Object (File)
Thu, Jan 23, 3:50 PM
Unknown Object (File)
Thu, Jan 23, 3:50 PM
Unknown Object (File)
Thu, Jan 23, 3:50 PM
Unknown Object (File)
Thu, Jan 23, 3:50 PM
Unknown Object (File)
Wed, Jan 22, 12:17 AM
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
Branch
fatalphrase
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 2318
Build 2322: [Placeholder Plan] Wait for 30 Seconds

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).