[PR #1828] [MERGED] use writeTmpKeyFile in calcFingerprint #16069

Closed
opened 2025-11-02 12:01:36 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/1828
Author: @zmyrgel
Created: 5/28/2017
Status: Merged
Merged: 5/29/2017
Merged by: @lunny

Base: masterHead: ssh-tmp


📝 Commits (1)

  • e259074 use writeTmpKeyFile in calcFingerprint

📊 Changes

1 file changed (+2 additions, -10 deletions)

View changed files

📝 models/ssh_key.go (+2 -10)

📄 Description

This makes calcFingerprint use SSH.KeyTestpath instead of os temp dir.
It makes it easier to write SELinux rules for gitea process.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/1828 **Author:** [@zmyrgel](https://github.com/zmyrgel) **Created:** 5/28/2017 **Status:** ✅ Merged **Merged:** 5/29/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `ssh-tmp` --- ### 📝 Commits (1) - [`e259074`](https://github.com/go-gitea/gitea/commit/e2590742b2b3e0887930939ed43f0b7ba4c3a8ba) use writeTmpKeyFile in calcFingerprint ### 📊 Changes **1 file changed** (+2 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `models/ssh_key.go` (+2 -10) </details> ### 📄 Description This makes calcFingerprint use SSH.KeyTestpath instead of os temp dir. It makes it easier to write SELinux rules for gitea process. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:01:36 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16069