Page MenuHomePhabricator

Purge `ssh-auth` key cache after trust/untrust
ClosedPublic

Authored by epriestley on Feb 9 2018, 10:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 25, 1:20 PM
Unknown Object (File)
Wed, Dec 25, 10:27 AM
Unknown Object (File)
Fri, Nov 29, 10:18 PM
Unknown Object (File)
Nov 25 2024, 11:37 AM
Unknown Object (File)
Nov 18 2024, 7:37 PM
Unknown Object (File)
Nov 17 2024, 7:23 PM
Unknown Object (File)
Nov 14 2024, 11:37 PM
Unknown Object (File)
Nov 11 2024, 9:22 AM
Subscribers
None

Details

Summary

See PHI358. The bin/almanac [un]trust-key workflows don't properly purge the SSH key cache, but should.

Test Plan
  • Added key ssh-rsa xyz to a device.
  • Used bin/ssh-auth | grep xyz to test for the presence of the key.
  • Before patch: Saw it not present, trusted it, saw it still not present.
  • After patch: Saw it not present, trusted it, saw it now present. Untrusted it, saw it no longer present.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Feb 9 2018, 10:58 PM
This revision was automatically updated to reflect the committed changes.