Has anyone looked into supporting the SSH Agent with the Chromebook Linux environment?
I make use of my Chromebook as a lightweight development machine rather than lugging my MacBook Pro around when most of what I need to do is SSH into servers and edit stuff.
I've recently been able to set up and use the 1Password SSH Key Agent with OSX and have been very happy with it. I was hoping I might be able to do the same thing with the Linux environment in my Chromebook.
First thing I did was follow the instructions to install 1Password 8 for Linux, and that seems to work great.
Next, I enabled the agent in 1Password and added the socket to my .ssh/config file. 1Password recognizes it as being set up when I look at the settings.
However, when I try to ssh into a machine, I get an error: sign_and_send_pubkey: signing failed for ED25519 "id_ed25519" from agent: agent refused operation
If I run ssh with -vv, I can confirm the fact that the agent sees the request and enumerates the keys, negotiating the proper key with the server, but this error shows up right after that negotiation.
It seems like it is really close to working, and might just need a dev with a Chromebook to poke around a bit to see what is happening.
I tried to use the view logs option in the Linux app, but that didn't work. I opened the log file directly and found the error lines related to the SSH agent as well as the error that happened when I tried to open the log files in the app. Both errors are included below.
agent related log lines:
INFO 2022-08-06T17:53:09.466 tokio-runtime-worker(ThreadId(8)) [1P:foundation/op-sys-info/src/process_information/linux.rs:367] no GUI info available to determine top level parent
WARN 2022-08-06T17:53:09.467 tokio-runtime-worker(ThreadId(8)) [1P:foundation/op-sys-info/src/process_information/linux.rs:247] binary permission verification failed for /opt/google/cros-containers/lib/ld-linux-x86-64.so.2
WARN 2022-08-06T17:53:09.467 tokio-runtime-worker(ThreadId(8)) [1P:foundation/op-sys-info/src/process_information/linux.rs:247] binary permission verification failed for /opt/google/cros-containers/lib/ld-linux-x86-64.so.2
INFO 2022-08-06T17:53:09.468 tokio-runtime-worker(ThreadId(6)) [1P:ssh/op-ssh-agent/src/lib.rs:419] Session was not authorized
open log file error log lines:
```
ERROR 2022-08-06T17:53:55.352 tokio-runtime-worker(ThreadId(1)) [1P:op-app/src/app/backend.rs:213] AppError at op-app/src/app/backend/logs_directory.rs:25:9
Reveal(LinuxError(Dbus(MethodError("org.freedesktop.DBus.Error.ServiceUnknown", Some("The name org.freedesktop.FileManager1 was not provided by any .service files"), Msg { type: Error, sender: "org.freedesktop.DBus", reply-serial: 2, body: Signature: [
s (115),
] }))))
Stack backtrace:
0: core::future::from_generator::GenFuture%3CT as core::future::future::Future>::poll
1: core::future::from_generator::GenFuture%3CT as core::future::future::Future>::poll
2: tokio::runtime::task::core::CoreStage
3: tokio::runtime::task::harness::poll_future
4: tokio::runtime::task::harness::Harness
5: std::thread::local::LocalKey
6: tokio::runtime::thread_pool::worker::Context::run_task
7: tokio::runtime::thread_pool::worker::Context::run
8: tokio::macros::scoped_tls::ScopedKey
9: tokio::runtime::thread_pool::worker::run
10: tokio::runtime::blocking::task::BlockingTask%3CT as core::future::future::Future>::poll
11: std::panicking::try
12: tokio::runtime::task::harness::Harness
13: tokio::runtime::blocking::pool::Inner::run
14: std::sys_common::backtrace::__rust_begin_short_backtrace
15: core::ops::function::FnOnce::call_once{{vtable.shim}}
16: alloc::boxed::Box%3CF,A as core::ops::function::FnOnce
at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/alloc/src/boxed.rs:1861:9
alloc::boxed::Box%3CF,A as core::ops::function::FnOnce
at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/alloc/src/boxed.rs:1861:9
std::sys::unix::thread::Thread::new::thread_start
at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/sys/unix/thread.rs:108:17
17: start_thread
18: clone
```
1Password Version: 8.8.0
Extension Version: Not Provided
OS Version: ChromeOS 104.0.5112.83 (Official Build)
Browser:_ Not Provided
Referrer: forum-search:https://1password.community/search?Search=Chromebook