Initial support for SSH based authentification #21

Merged
adamm merged 1 commits from adrianSuSE/autogits:main into main 2025-04-02 11:35:56 +02:00
Member

Moved all HTTP codes to the ObsRequest method.

Make use of the authorization cookie, but only store it in memory.
Should be fine for a constant running bot to do the authorization once
on startup.

Moved all HTTP codes to the ObsRequest method. Make use of the authorization cookie, but only store it in memory. Should be fine for a constant running bot to do the authorization once on startup.
adrianSuSE changed title from Initial support for SSH based authentification to WIP: Initial support for SSH based authentification 2025-04-02 08:59:35 +02:00
Author
Member

Just a draft for now, needs further testing with setup ssh key.

Just a draft for now, needs further testing with setup ssh key.
adamm reviewed 2025-04-02 10:24:31 +02:00
@@ -218,0 +243,4 @@
realm := string(match[1])
sshKeyFile := filepath.Join(os.Getenv("HOME"), ".ssh", "id_rsa")
sshKeygenPath, err := exec.LookPath("ssh-keygen")
if err != nil {
Owner

looks fine, but whitespace is broken. mix of tab/space?

looks fine, but whitespace is broken. mix of tab/space?
adrianSuSE force-pushed main from eb6b083dc4 to 6409741a12 2025-04-02 11:14:14 +02:00 Compare
adamm changed title from WIP: Initial support for SSH based authentification to Initial support for SSH based authentification 2025-04-02 11:35:48 +02:00
adamm merged commit 6409741a12 into main 2025-04-02 11:35:56 +02:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: git-workflow/autogits#21