Gnome-authenticator panics

While trying to dig into How do I get Guix to have flatpak application show up in the applications menu whenever I install a flatpak application? - #2 by kepi

I discovered that I need my two-steps-authentification passwords, which I forgot to think about while switching OS. I don’t even know if I used gnome-authenticator, but it looks familiar enough. My old OS is gone, but I copied my home folder, so unless these were saved systemwide, I should still have them. I’m not sure where though.

But the bigger issue right now is that I’m receiving a panic error when I try to add a new password or want to look into preferences.

thread 'main' panicked at 
/tmp/guix-build-gnome-authenticator-4.4.0.drv-0/build/vendor/rust-aperture-0.3.2.tar.gz/src/viewfinder.rs:184:76:called
 `Result::unwrap()` on an `Err` value: BoolError { message: "Failed to 
find element factory with name 'camerabin' for creating element", 
filename: 
"/tmp/guix-build-gnome-authenticator-4.4.0.drv-0/build/vendor/rust-gstreamer-0.21.3.tar.gz/src/element_factory.rs",
 function: 
"gstreamer::element_factory::ElementBuilder::build::{{closure}}", line: 
291 }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Also, when I installed the gnome-authenticator, it does not show up in my applications-menu. I installed it via the guix repo, so I expect it to show up like it did with Manjaro. Is there any reason why it wouldn’t?

Solved by first installing gnome-authenticator and gnome-keyring from the main repo and then copying their respective configuration and database files.

$ guix package -i gnome-authenticator gnome-keyring
$ cp /run/media/$USER/XX-XX/.local/share/authenticator/* ~/.local/share/authenticator
$ cp /run/media/$USER/XX-XX/.local/share/keyrings/* ~/.local/share/keyrings
1 Like