1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-14 02:42:40 +01:00
phorge-phorge/src/applications/passphrase/controller
epriestley 36006bcb8f Prevent locked credentials from being made accessible via conduit
Summary:
Via HackerOne. Currently, you can use "Lock Permanently" to lock a credential permanently, but you can still enable Conduit API access to it. This directly contradicts both intent of the setting and its description as presented to the user.

Instead:

  - When a credential is locked, revoke Conduit API access.
  - Prevent API access from being enabled for locked credentials.
  - Prevent API access to locked credentials, period.

Test Plan:
  - Created a credential.
  - Enabled API access.
  - Locked credential.
  - Saw API access become disabled.
  - Tried to enable API access; was rebuffed.
  - Queried credential via API, wasn't granted access.

Reviewers: chad

Reviewed By: chad

Differential Revision: https://secure.phabricator.com/D15944
2016-05-18 14:54:44 -07:00
..
PassphraseController.php Increase visibility of PhabricatorController::buildApplicationMenu methods 2015-01-16 07:41:26 +11:00
PassphraseCredentialConduitController.php Prevent locked credentials from being made accessible via conduit 2016-05-18 14:54:44 -07:00
PassphraseCredentialCreateController.php Update Passphrase Edit/Create UI 2016-04-04 14:22:13 -07:00
PassphraseCredentialDestroyController.php Convert Passhrase to handleRequest 2015-07-27 09:06:01 -07:00
PassphraseCredentialEditController.php Prevent locked credentials from being made accessible via conduit 2016-05-18 14:54:44 -07:00
PassphraseCredentialListController.php Convert Passhrase to handleRequest 2015-07-27 09:06:01 -07:00
PassphraseCredentialLockController.php Prevent locked credentials from being made accessible via conduit 2016-05-18 14:54:44 -07:00
PassphraseCredentialPublicController.php Update Passphrase Edit/Create UI 2016-04-04 14:22:13 -07:00
PassphraseCredentialRevealController.php Use monospaced font in Passphrase "Reveal Secret" dialog 2016-04-14 13:09:52 -07:00
PassphraseCredentialViewController.php Prevent locked credentials from being made accessible via conduit 2016-05-18 14:54:44 -07:00