1
0
mirror of https://github.com/openSUSE/osc.git synced 2026-02-18 09:55:13 +01:00
Files
github.com_openSUSE_osc/osc
Antonello Tartamo cbf98966b7 feat(gitea): Add support for SSH agent authentication
This change introduces support for authenticating against the Gitea API using an SSH agent. This provides a more secure and convenient alternative to storing private keys or API tokens directly in the configuration file.

  Key changes include:

   - A new HttpSigner class that can sign HTTP requests using either a local private key or a key from an SSH agent.
   - The osc git-obs login add and login update commands now accept --ssh-agent and --ssh-key-agent-pub arguments to configure SSH agent-based authentication.
   - The paramiko library is now used for SSH agent communication. It is an optional dependency and only required when using the SSH agent feature.
   - The Gitea API connection logic is updated to use the HttpSigner when SSH authentication is configured.

  This improves user experience by allowing them to leverage their existing SSH agent setup for Gitea authentication, avoiding the need to handle sensitive credentials manually.
2026-02-08 09:49:54 +01:00
..
2026-02-02 08:43:38 +01:00
2025-12-18 10:30:46 +01:00
2009-12-03 19:19:53 +01:00
2024-01-06 10:00:38 +01:00
2025-02-26 18:34:59 +01:00
2022-12-05 15:28:02 +01:00