linux-credentials/credentialsd

Rewrite webextension shim in Rust

Aberta

#71 aberto em 7 de ago. de 2025

 (0 comentário) (0 reação) (0 responsável)Rust (16 forks)auto 404
help wanted

Métricas do repositório

Stars
 (234 estrelas)
Métricas de merge de PR
 (Mesclagem média 33d 12h) (6 fundiu PRs em 30d)

Description

The web extension shim translates between the native messaging protocol and the D-Bus API for credentialsd. It's currently written in Python using the dbus-next Python package.

We target Ubuntu 22.04 as our oldest supported OS, but the dbus-next package isn't packaged until 25.04. To make it easier for people to test using the extension, it may be worth rewriting this in Rust.

However, part of the purpose of using a different language, namely Python, was to catch discrepancies between docs and the implementation. If we do rewrite it, it might be good to use a different library than zbus (like dbus-rs) or not to use the proxy macros from zbus and craft messages manually. This might be overkill, and maybe we just need to write better integration tests.

Guia do colaborador