Homec4science

Work around lack of PKCS8 support in OSX ssh-keygen

Authored by epriestley <git@epriestley.com> on Dec 20 2014, 01:36.

Description

Work around lack of PKCS8 support in OSX ssh-keygen

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.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T4209, T6240, T6238

Differential Revision: https://secure.phabricator.com/D11021

Details

Committed
epriestley <git@epriestley.com>Dec 20 2014, 01:36
Pushed
aubortJan 31 2017, 17:16
Parents
rPHab4207a2c5f9: Darken footer color
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH0ce08b4d279b: Work around lack of PKCS8 support in OSX ssh-keygen (authored by epriestley <git@epriestley.com>).Dec 20 2014, 01:36