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)
Wed, Dec 18, 11:50 PM
Unknown Object (File)
Sat, Dec 14, 6:43 AM
Unknown Object (File)
Wed, Dec 4, 4:11 PM
Unknown Object (File)
Mon, Dec 2, 9:38 PM
Unknown Object (File)
Wed, Nov 27, 10:02 PM
Unknown Object (File)
Sun, Nov 24, 2:33 PM
Unknown Object (File)
Sat, Nov 23, 1:40 PM
Unknown Object (File)
Sat, Nov 23, 1:40 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.