| Summary: | Without --with-security-key-builtin=yes, the tools give non-useful error logs | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Jakub Jelen <jjelen> | ||||
| Component: | ssh-keygen | Assignee: | Damien Miller <djm> | ||||
| Status: | CLOSED FIXED | ||||||
| Severity: | enhancement | CC: | djm, dtucker | ||||
| Priority: | P5 | ||||||
| Version: | 8.2p1 | ||||||
| Hardware: | Other | ||||||
| OS: | Linux | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 3117 | ||||||
| Attachments: |
|
||||||
|
Description
Jakub Jelen
2020-02-18 21:27:09 AEDT
Additionally, configuring with --with-security-key-builtin=yes works even if there is no libfido2 installed, but fails as late as during build, which would be something to fix in the configure: cc -o ssh-sk-helper ssh-sk-helper.o ssh-sk.o sk-usbhid.o -L. -Lopenbsd-compat/ -pie -z relro -z now -fstack-protector-strong -lssh -lopenbsd-compat -lssh -lopenbsd-compat -lcrypto -ldl -lutil -lz -lcrypt -lresolv -lselinux -lfido2 -lcbor /usr/bin/ld: cannot find -lfido2 /usr/bin/ld: cannot find -lcbor collect2: error: ld returned 1 exit status make: *** [Makefile:242: ssh-sk-helper] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.jVOzdy (%build) Created attachment 3366 [details]
autoconf checks for libfido2 and headers
I added a better error message for the no-builtin case a couple of weeks ago. Here's a patch to improve the autoconf side of things.
This fix was accidentally committed in d081f017c2 rather than as its own commit. Anyway, it's there now and will be in openssh-8.3 closing resolved bugs as of 8.6p1 release |