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
Unknown Object (File)
Fri, May 24, 6:58 PM
Unknown Object (File)
Jan 14 2024, 7:48 AM
Unknown Object (File)
Dec 23 2023, 1:36 AM
Unknown Object (File)
Nov 26 2023, 3:27 AM
Unknown Object (File)
Nov 26 2023, 3:19 AM
Unknown Object (File)
Nov 24 2023, 8:30 AM
Unknown Object (File)
Nov 24 2023, 12:41 AM
Unknown Object (File)
Oct 28 2023, 11:46 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

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.