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
F19012361: D11021.id.diff
Nov 22 2025, 12:37 PM
F19003077: D11021.diff
Nov 21 2025, 7:43 AM
F18945705: D11021.id26465.diff
Nov 11 2025, 6:46 PM
F18920927: D11021.id26465.diff
Nov 9 2025, 1:29 PM
F18804053: D11021.id26465.diff
Oct 18 2025, 5:38 AM
F18709007: D11021.id26468.diff
Sep 28 2025, 11:33 PM
F18621283: D11021.id.diff
Sep 15 2025, 7:39 AM
F18617061: D11021.diff
Sep 14 2025, 8:05 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.