Page MenuHomePhabricator

Work around lack of PKCS8 support in OSX ssh-keygen
ClosedPublic

Authored by epriestley on Dec 19 2014, 10:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 25, 1:15 PM
Unknown Object (File)
Thu, Apr 25, 1:15 PM
Unknown Object (File)
Thu, Apr 25, 1:15 PM
Unknown Object (File)
Wed, Apr 24, 11:39 PM
Unknown Object (File)
Sat, Apr 20, 9:15 PM
Unknown Object (File)
Sat, Apr 20, 7:57 PM
Unknown Object (File)
Wed, Apr 17, 5:26 PM
Unknown Object (File)
Thu, Apr 11, 8:10 PM
Subscribers

Details

Summary

Ref T4209. Ref T6240. Ref T6238. See D10401 for original discussion.

On OSX, ssh-keygen doesn't support PKCS8:

  • When we hit an issue with this, raise a more tailored message about it.
  • Allow the user to work around the problem with auth cache-pkcs8 ..., providing reasonable guidance / warnings.

In practice, this only really matters very much for one key, which I'm just going to make the services extension cache automatically. So it's sort of moot, but good to have around for weird cases and to make testing easier.

Test Plan

Hit error, cached key, got clean asymmetric auth.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

btrahan edited edge metadata.
This revision is now accepted and ready to land.Dec 20 2014, 12:12 AM
This revision was automatically updated to reflect the committed changes.