1
0
mirror of https://github.com/openSUSE/osc.git synced 2026-02-22 11:45:31 +01:00
Commit Graph

7 Commits

Author SHA1 Message Date
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
fd7f92d411 Update docs for the new git metadata store 2025-09-23 13:06:46 +02:00
9d747b7ee3 Update list of recommended gitea permissions in git-obs-quickstart 2025-09-17 11:11:06 +02:00
78066f8e70 Allow git in git-obs to be switched from SSH to http(s) 2025-06-18 13:51:53 +02:00
8f4da16931 Update git-obs-quickstart doc with more detailed info on creating tokens 2025-04-01 16:13:53 +02:00
305affd979 Fix 'git-obs login add' command invocation in git-obs-quickstart documentation 2025-03-06 13:12:55 +01:00
c984b7f098 Add git-obs Quickstart documentation and man page 2025-02-25 16:39:18 +01:00