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)
Tue, May 7, 5:59 AM
Unknown Object (File)
Sat, May 4, 11:36 AM
Unknown Object (File)
Fri, May 3, 3:38 AM
Unknown Object (File)
Mon, Apr 29, 3:39 PM
Unknown Object (File)
Sat, Apr 27, 3:07 PM
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
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
Branch
pkcs8
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 3302
Build 3309: [Placeholder Plan] Wait for 30 Seconds

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.