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
F18803680: D10185.id24501.diff
Oct 18 2025, 2:45 AM
F18799054: D10185.diff
Oct 17 2025, 10:59 AM
F18764040: D10185.id24502.diff
Oct 7 2025, 3:51 AM
F18677943: D10185.diff
Sep 25 2025, 9:42 PM
F18628471: D10185.id.diff
Sep 16 2025, 6:23 AM
F18614736: D10185.diff
Sep 14 2025, 1:10 PM
F18601321: D10185.id.diff
Sep 13 2025, 12:09 PM
F18495636: D10185.diff
Sep 4 2025, 4:34 PM
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
Lint
Lint Skipped
Unit
Tests Skipped

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