Page MenuHomePhabricator

T5409, allow bin/remove to permanently destroy credential and everything associated with it
ClosedPublic

Authored by lpriestley on Aug 7 2014, 11:09 PM.
Tags
None
Referenced Files
F14102507: D10185.diff
Tue, Nov 26, 7:06 PM
Unknown Object (File)
Mon, Nov 25, 1:01 AM
Unknown Object (File)
Wed, Nov 20, 8:18 PM
Unknown Object (File)
Sat, Nov 16, 6:39 PM
Unknown Object (File)
Sun, Nov 10, 10:21 AM
Unknown Object (File)
Mon, Oct 28, 12:11 PM
Unknown Object (File)
Oct 26 2024, 6:19 AM
Unknown Object (File)
Oct 24 2024, 9:43 AM
Subscribers

Details

Summary

Fixes T5409, bin/remove permanently destroys credential

Test Plan

Add a passphrase, run bin/remove destroy K123 --trace, verify credential no longer exists

Diff Detail

Repository
rP Phabricator
Branch
destroycredential
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 2096
Build 2100: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

lpriestley retitled this revision from to T5409, allow bin/remove to permanently destroy credential and everything associated with it.
lpriestley updated this object.
lpriestley edited the test plan for this revision. (Show Details)
lpriestley added a reviewer: epriestley.
epriestley edited edge metadata.
  • One minor issue inline.
  • you betta sign that CLA
src/applications/passphrase/storage/PassphraseCredential.php
95

This isn't quiet correct -- it should be $this->secretID(). Currently this is destroying the Secret that happens to have the same ID as the Credential, but they aren't guaranteed to be related.

This revision now requires changes to proceed.Aug 7 2014, 11:14 PM
lpriestley edited edge metadata.

Adding requested changes

This revision is now accepted and ready to land.Aug 7 2014, 11:33 PM
epriestley updated this revision to Diff 24502.

Closed by commit rPc6998207ab00 (authored by @lpriestley, committed by @epriestley).