Home GnuPG

Prevent locked credentials from being made accessible via conduit
36006bcb8fcbUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

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

Details

Provenance
epriestley <git@epriestley.com>Authored on May 18 2016, 9:31 PM
Parents
rPHAB0308d580d7df: Deactivate SSH keys instead of destroying them completely
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHAB36006bcb8fcb: Prevent locked credentials from being made accessible via conduit (authored by epriestley <git@epriestley.com>).May 18 2016, 11:54 PM