[PR #2448] [CLOSED] Allow to store Basic Auth passwords hashed in config files #4575

Closed
opened 2026-05-05 14:44:42 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/2448
Author: @nonnorm
Created: 6/12/2021
Status: Closed

Base: devHead: dev


📝 Commits (10+)

📊 Changes

15 files changed (+72 additions, -7 deletions)

View changed files

📝 README.md (+12 -0)
📝 client/admin.go (+2 -2)
📝 cmd/frps/root.go (+3 -0)
📝 go.mod (+1 -0)
📝 go.sum (+2 -0)
📝 pkg/config/client.go (+2 -0)
📝 pkg/config/proxy.go (+3 -0)
📝 pkg/config/server.go (+3 -0)
📝 pkg/msg/msg.go (+1 -0)
📝 pkg/plugin/client/static_file.go (+9 -1)
📝 pkg/util/net/http.go (+21 -1)
📝 pkg/util/vhost/http.go (+9 -1)
📝 pkg/util/vhost/vhost.go (+1 -0)
📝 server/dashboard.go (+2 -2)
📝 server/proxy/http.go (+1 -0)

📄 Description

Allows to store passwords used for HTTP Basic Authentication (and dashboard and admin UI) hashed using BCrypt.


🔄 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/fatedier/frp/pull/2448 **Author:** [@nonnorm](https://github.com/nonnorm) **Created:** 6/12/2021 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `dev` --- ### 📝 Commits (10+) - [`523047a`](https://github.com/fatedier/frp/commit/523047ad0662109cf5eded9c17c92ab66a99eb2a) Add possibility to store password hashed - [`0d17cae`](https://github.com/fatedier/frp/commit/0d17cae66a8055617dc370bd1ac24b0af8f6a5e4) Fix go.mod - [`80bb9de`](https://github.com/fatedier/frp/commit/80bb9de5338995a90b6601b39924a815946e92f9) Fix syntax - [`7df2916`](https://github.com/fatedier/frp/commit/7df29169ca89e0769e634fd43b4e392bed818459) Allow to use $2y$ passwords as well - [`082aba8`](https://github.com/fatedier/frp/commit/082aba87182a3960b4d206a00a0335dcf31245d1) Merge branch 'dev' into dev - [`af03204`](https://github.com/fatedier/frp/commit/af0320496ea77f1768b8cea00d36ce1fd00cd189) Fix error - [`3c83600`](https://github.com/fatedier/frp/commit/3c83600366b500f9dcb2eba3497fb7ecd50b9170) Fix other error - [`09b17b0`](https://github.com/fatedier/frp/commit/09b17b03657c6a4421de5ea92eae44bf4a1a6e22) Merge branch 'dev' into dev - [`05cc39e`](https://github.com/fatedier/frp/commit/05cc39eae09fa29405c9fdda8a6395d7d1321c98) `go mod tidy` change - [`cf90df6`](https://github.com/fatedier/frp/commit/cf90df6ffa2c728710157116082dd89607110dd5) Merge branch 'dev' into dev ### 📊 Changes **15 files changed** (+72 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+12 -0) 📝 `client/admin.go` (+2 -2) 📝 `cmd/frps/root.go` (+3 -0) 📝 `go.mod` (+1 -0) 📝 `go.sum` (+2 -0) 📝 `pkg/config/client.go` (+2 -0) 📝 `pkg/config/proxy.go` (+3 -0) 📝 `pkg/config/server.go` (+3 -0) 📝 `pkg/msg/msg.go` (+1 -0) 📝 `pkg/plugin/client/static_file.go` (+9 -1) 📝 `pkg/util/net/http.go` (+21 -1) 📝 `pkg/util/vhost/http.go` (+9 -1) 📝 `pkg/util/vhost/vhost.go` (+1 -0) 📝 `server/dashboard.go` (+2 -2) 📝 `server/proxy/http.go` (+1 -0) </details> ### 📄 Description Allows to store passwords used for HTTP Basic Authentication (and dashboard and admin UI) hashed using BCrypt. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 14:44:42 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#4575
No description provided.