Page MenuHomePhabricator

Allow Passphrase to store empty secrets
ClosedPublic

Authored by epriestley on Sep 4 2014, 5:55 PM.
Tags
None
Referenced Files
F18961536: D10414.id25065.diff
Nov 13 2025, 2:19 PM
F18870877: D10414.id.diff
Nov 4 2025, 7:31 PM
F18866230: D10414.diff
Nov 3 2025, 4:07 PM
F18700917: D10414.diff
Sep 27 2025, 4:05 PM
F18620342: D10414.diff
Sep 15 2025, 4:58 AM
F18504114: D10414.id.diff
Sep 4 2025, 11:36 PM
F18381045: D10414.id.diff
Aug 28 2025, 7:00 PM
F18363086: D10414.diff
Aug 27 2025, 3:40 PM
Subscribers

Details

Summary

Fixes T6001. We currently don't allow empty secrets, but accounts with no password are occasionally used in the wild.

Test Plan
  • Created a credential with an empty secret.
  • Revealed secret, saw empty message.
  • Edited it (no form changes), saw secret unchanged.
  • Changed it to a nonempty secret.
  • Revealed nonempty secret.
  • Edited it (no form changes), saw secret unchanged.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley retitled this revision from to Allow Passphrase to store empty 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.Sep 4 2014, 7:28 PM
epriestley updated this revision to Diff 25065.

Closed by commit rPa6296a64a457 (authored by @epriestley).