在Ubuntu22.04上使用Firefox snap (最新版本1300)。我试图在GitHub、Cloudflare和其他各种站点上使用一个安全密钥。当站点提示我使用我的密钥时,Firefox提示窗口(“这个站点想要验证您.现在连接一个安全密钥,或者取消”)会显示出来,但是不管我做了什么,这个密钥似乎没有被Firefox识别,甚至没有被看到。
安全密钥在火狐的.deb版本上运行良好。
如何配置snap以允许访问安全密钥?
snap connections firefox的输出:
Interface Plug Slot Notes
audio-playback firefox:audio-playback :audio-playback -
audio-record firefox:audio-record :audio-record -
avahi-observe firefox:avahi-observe :avahi-observe -
browser-support firefox:browser-sandbox :browser-support -
camera firefox:camera :camera -
content[gnome-3-38-2004] firefox:gnome-3-38-2004 gnome-3-38-2004:gnome-3-38-2004 -
content[gtk-3-themes] firefox:gtk-3-themes gtk-common-themes:gtk-3-themes -
content[icon-themes] firefox:icon-themes gtk-common-themes:icon-themes -
content[sound-themes] firefox:sound-themes gtk-common-themes:sound-themes -
cups-control firefox:cups-control :cups-control -
dbus - firefox:dbus-daemon -
desktop firefox:desktop :desktop -
desktop-legacy firefox:desktop-legacy :desktop-legacy -
gsettings firefox:gsettings :gsettings -
hardware-observe firefox:hardware-observe :hardware-observe -
home firefox:home :home -
joystick firefox:joystick :joystick -
mpris - firefox:mpris -
network firefox:network :network -
network-observe firefox:network-observe - -
opengl firefox:opengl :opengl -
personal-files firefox:dot-mozilla-firefox :personal-files -
removable-media firefox:removable-media :removable-media -
screen-inhibit-control firefox:screen-inhibit-control :screen-inhibit-control -
system-files firefox:etc-firefox-policies :system-files -
system-packages-doc firefox:system-packages-doc :system-packages-doc -
u2f-devices firefox:u2f-devices :u2f-devices -
unity7 firefox:unity7 :unity7 -
upower-observe firefox:upower-observe :upower-observe -
wayland firefox:wayland :wayland -
x11 firefox:x11 :x11 -注意:hardware-observe是如何连接的。
如有任何建议,将不胜感激。
发布于 2022-07-22 22:42:11
事实证明,我的安全密钥不在snaps识别的U2F设备列表中。(硬件供应商/ID组合的列表)可以在管理手工艺者Github上看到.)
要解决这一问题,请尝试查找您的安全密钥in,并在问题/拉请求中提交该in以使其添加。然后,您的密钥应该与下一个核心更新一起工作。
发布于 2022-05-12 03:04:55
应该是:snap connect firefox:u2f-devices,但它对我也不起作用:
文件/etc/udev/rules.d/70-snap.firefox.rules根本不涵盖大多数U2F设备。
我在该文件中添加了我的设备(您可以在dmesg中发现这些细节):
# u2f-devices
# MK FIDO
SUBSYSTEM=="hidraw", KERNEL=="hidraw*", ATTRS{idVendor}=="0416", ATTRS{idProduct}=="c138", TAG+="snap_firefox_firefox"添加后,重新启动firefox,并拔出并插入密钥。
现在起作用了!(直到新的快照到来,然后你需要重新开始游戏.)
发布于 2022-08-26 17:59:11
我和最新的Ledger Nano S Plus有着完全相同的问题,我最终解决了这个问题:先决条件: Ledger Nano S Plus Firefox安装自snap
lsusb -v并收集product idsudo vim /etc/udev/rules.d/70-snap.firefox.rule找到带有Ledger Blue + Nano S + Nano X的行应该是这样的:
SUBSYSTEM=="hidraw", KERNEL=="hidraw*", ATTRS{idVendor}=="2c97", ATTRS{idProduct}=="0000|0001|0004|0005|0015|1005|1015|4005|4015|5015", TAG+="snap_firefox_firefox"您需要做的是将新的productId附加到属性的末尾。
sudo systemctl reload apparmor.service希望能帮上忙
https://askubuntu.com/questions/1406921
复制相似问题