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
F14093510: D19053.id45680.diff
Mon, Nov 25, 11:37 AM
Unknown Object (File)
Mon, Nov 18, 7:37 PM
Unknown Object (File)
Sun, Nov 17, 7:23 PM
Unknown Object (File)
Thu, Nov 14, 11:37 PM
Unknown Object (File)
Mon, Nov 11, 9:22 AM
Unknown Object (File)
Thu, Nov 7, 12:20 PM
Unknown Object (File)
Oct 19 2024, 9:43 AM
Unknown Object (File)
Oct 15 2024, 1:15 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.