trustcrypto / OnlyKey-App

The OnlyKey App is used for the initial setup and configuration of OnlyKey. Supported on Windows, macOS, Linux, and Chromebook (with Chrome App).
https://docs.crp.to/app.html
Other
106 stars 24 forks source link

no proper way to run on fedora #216

Open evakhoni opened 11 months ago

evakhoni commented 11 months ago

the chrome extension is deprecated
snap version is 4+ years old
the other way is to convert using alien, which itself outdated, requires tons of dependencies, and a root permission.

a proper rpm or an appImage would solve those issues for good

Ian2020 commented 10 months ago

Hey I've just finished an unofficial flatpak if you want to give that a go:

https://github.com/Ian2020/io.onlykey.OnlyKey-App

Also see #105.

MalteFlender commented 6 months ago

I'm having trouble with the onlykey-app on my Fedora 39 too: grafik The error message looks to me like the libc.so.6 is only searched for in the default Debian location, bot not the one for Fedora. A popper rpm-Package would be a really nice addition.

For easier copy-paste here is the same error message again:

[15744:15744:0226/094430.261568:ERROR:gl_implementation.cc(281)] Failed to load libGL.so.1: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /var/lib/snapd/lib/gl/libGLX.so.0)
[15744:15744:0226/094430.262451:ERROR:viz_main_impl.cc(184)] Exiting GPU process due to errors during initialization
[15490:15747:0226/094430.270391:ERROR:bus.cc(396)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[15490:15490:0226/094430.271001:ERROR:component_loader.cc(162)] Failed to parse extension manifest.
[15762:15778:0226/094430.368014:ERROR:command_buffer_proxy_impl.cc(124)] ContextResult::kTransientFailure: Failed to send GpuChannelMsg_CreateCommandBuffer.
MalteFlender commented 5 months ago

After some more trying I found a remarkable easy way of running the OnlyKey-App on Fedora:

  1. You clone this git Repo
  2. Then you just need to run npm run release
  3. and npm start

For me this works and i can use the App with the OnlyKey.

evakhoni commented 5 months ago
❯ npm run release
...
...
21 vulnerabilities (2 low, 7 moderate, 12 high)

:thinking: not good.. and trying the suggested npm audit fix resulted in even worse

16 vulnerabilities (3 moderate, 8 high, 5 critical)