-
Notifications
You must be signed in to change notification settings - Fork 15
Support for OpenSSH from buster-backports #8
Comments
Fully agree! Thanks for the heads up, I didn't realize OpenSSH was in buster-backports. I'll work on updating the wiki with instructions on how to use it and creating a separate distribution for buster-backports in apt.mgbowen.dev.
That this command didn't work is expected. windows-fido-bridge-skapiv5 and windows-fido-bridge-skapiv7 conflict with each other because you can't install both at the same time. I set it up this way given you'll only ever have one (official) OpenSSH version installed via apt and a single installation of OpenSSH only supports a single sk-api version. Unfortunately, it's not possible for an OpenSSH SK middleware to support multiple sk-api versions in a single library. My intention with the separate skapi packages was to allow for That said, if the automatic selection fails, manually specifying the correct skapi package that goes with your OpenSSH version in addition to windows-fido-bridge itself should still work. For example, on a system with OpenSSH 8.4, this should work assuming the correct dependencies are available:
But ideally I'd like to fix the auto selection if it's broken.
In this case, this error happens when subsequent lines in a multi-line Description field aren't indented with a single space. From my own experimentation with CMake in buster vs. CMake in bullseye, it looks like something related to how the package description variable value is parsed changed between 3.13 (the version in buster) and 3.18 (the version in bullseye). A package built with CMake in bullseye produces the following (correct) Description field:
A package built with CMake in buster produces the following (incorrect) Description field:
Notice how only the final line is properly indented. If you're curious, you can show the contents of the control file of a deb file using On your buster machine, could you try applying the following patch and running
I'll also look into either making the description parsing consistent between CMake versions or, in the worst case, add a conditional to modify the description strings depending on the CMake version. I'm usually busy during the week, but I'll see if I can find time; if not, I should be able to work on these issues over the weekend.
It was helpful, the detailed bug report is greatly appreciated! |
That all makes sense, thank you for the explanation! I realise now that installing both sk packages wouldn't work, that's my mistake, I was experimenting with different things (Like pulling in the packages it said was missing), apparently i missed the part where it said "or".
That's alright, there isn't any real rush! |
I pushed a commit that should fix builds on CMake < 3.16, which also should make CMake in buster compile with no changes. Will work on getting buster-backports instructions into the wiki and builds into apt.mgbowen.dev. |
I am not sure when exactly it happened but at some point recently OpenSSH 8.4 was added to the
buster-backports
repository.See here: https://packages.debian.org/buster-backports/ssh and its dependencies.
My suggestion is for the documentation (Wiki?) and other related things (Like the apt repository) to mention and support the possibility of installing a supported version of SSH from backports instead of upgrading the entire system to Bullseye for one piece of software.
Of course upgrading to Bullseye is still a possibility and may be preferred for some users, but I feel most would prefer to use the backports package and they may not realise it exists without documentation here.
I am currently running Debian Buster in WSL2 with
OpenSSH_8.4p1 Debian-2~bpo10+1
and the repository does not work with buster:Click for apt repo failure details
Installing from source appears to work okay, though under the default environment you have to specify the full
SSH_SK_PROVIDER=/usr/local/lib/libwindowsfidobridge.so
for it to function.Note that it is also required to specify
-DSK_API_VERSION=7
to work with the OpenSSH 8.4 that backports supplies.When I attempted, producing a package results in some.. strange things:
Unfortunately I don't know enough about the project or Debian packaging to begin to work this out myself, I hope my information helps in some way.
The text was updated successfully, but these errors were encountered: