Page MenuHomeFreeBSD

ssh: generate SK config file using private cbor and fido2 libs
ClosedPublic

Authored by emaste on Mar 4 2022, 3:14 PM.
Tags
None
Referenced Files
F115309485: D34440.diff
Tue, Apr 22, 11:28 AM
Unknown Object (File)
Wed, Apr 2, 11:28 AM
Unknown Object (File)
Mar 20 2025, 11:34 PM
Unknown Object (File)
Mar 1 2025, 5:49 PM
Unknown Object (File)
Feb 21 2025, 4:44 AM
Unknown Object (File)
Feb 11 2025, 5:52 AM
Unknown Object (File)
Feb 5 2025, 8:46 PM
Unknown Object (File)
Jan 31 2025, 4:54 PM
Subscribers

Details

Summary

Specify -lprivatecbor and -lprivatefido2 in OpenSSH's configure.ac, and pass -I paths to libcbor and libfido2's contrib src location.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste requested review of this revision.Mar 4 2022, 3:14 PM
emaste created this revision.

This will be needed for the 8.9p1 update but doesn't hurt to do now against 8.8p1. This was the least hacky simple approach I could find.

This is not actually a NFC, it adds the following to sk_config.h:

#define HAVE_FIDO_CRED_PROT 1
#define HAVE_FIDO_CRED_SET_PROT 1
#define HAVE_FIDO_DEV_GET_TOUCH_BEGIN 1
#define HAVE_FIDO_DEV_GET_TOUCH_STATUS 1
#define HAVE_FIDO_DEV_SUPPORTS_CRED_PROT 1

Prior to 8.9p1 these are #defined to stubs if the HAVE_* macros are not set but 8.9p1 introduced local implementations, which caused a build failure.

This revision was not accepted when it landed; it landed in state Needs Review.Mar 6 2022, 12:58 AM
This revision was automatically updated to reflect the committed changes.