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, Mar 20, 1:29 PM
Unknown Object (File)
Sun, Mar 17, 5:03 AM
Unknown Object (File)
Thu, Mar 14, 5:34 AM
Unknown Object (File)
Thu, Feb 29, 4:24 PM
Unknown Object (File)
Feb 10 2024, 11:56 AM
Unknown Object (File)
Jan 11 2024, 12:22 PM
Unknown Object (File)
Dec 14 2023, 9:47 AM
Unknown Object (File)
Dec 5 2023, 8:48 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.