Forum Discussion

ax's avatar
ax
New Contributor
7 months ago

WSL2 Arm Build

The instructions provided for setting up WSL2 git signing do not work with Windows on ARM.

[gpg "ssh"]
  program = "/mnt/c/Users/$WINDOWS_USERNAME/AppData/Local/1Password/app/8/op-ssh-sign-wsl"

I believe that's because the op-ssh-sign-wsl binary isn't compiled for ARM.

3 Replies

  • heaths's avatar
    heaths
    New Contributor

    This elf64 executable was working for me up until I upgraded both WSL from 2.4.13 to 2.5.10 and ran `apt upgrade` in my Ubuntu 24.04 aarch64 distro.

    FWIW, I can work around this by changing from `/mnt/c/Users/$USERNAME/AppData/Local/1Password/app/8/op-ssh-sign-wsl` to `/mnt/c/Users/$USERNAME/AppData/Local/1Password/app/8/op-ssh-sign-wsl.exe` in WSL2. A little slower, though.

    • 1P_Phil's avatar
      1P_Phil
      Icon for Moderator rankModerator

      Hi heaths​ & ax​ ,

      Yep you both are correct. For WSL you'll need to update the paths to use git signing on WSL.  We have some documentation on this that can be found below.

      https://developer.1password.com/docs/ssh/integrations/wsl/#configure-git-to-use-sshexe

      Let me know if you have any further questions. That being said, I just noticed we are only speaking about WSL 1, so I'll request and update to the docs to discuss WSL 2.  Thanks for your feedback! 🙌

      All the best, 
      Phil

      • heaths's avatar
        heaths
        New Contributor

        It was working just fine. I correctly set paths as documented (no different for WSL2). But qemu got messed up somehow and amd64 executables are executing (still working on why) but that wouldn’t be a problem if you shipped an arm64 binary as well, or in lieu of on arm64 installations.