[GH-ISSUE #4853] [Feature Request] 配置文件有没有加密的一个功能呢? #3830

Closed
opened 2026-05-05 14:26:58 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @yfxuwork on GitHub (Jun 25, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4853

Describe the feature request

很喜欢也很依赖frp这款软件, 用了很多年了。
最近有个需求是要把frp客户端嵌到另一个软件中,拉起来调用。
因为是分发出去的软件。 那这个配置文件内容就很敏感了。 不知道是否可以提供一个加密的方式。
frpc.toml里面的内容有个办法能加密, 然后启动时./frpc -c ./frpc.toml 在参数里多加个密钥参数。 客户端读取时就能解密正常配置了。 或者frpc.toml这种配置文件,能不能指定一个url 从网络上加载进来呢?

Describe alternatives you've considered

No response

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @yfxuwork on GitHub (Jun 25, 2025). Original GitHub issue: https://github.com/fatedier/frp/issues/4853 ### Describe the feature request 很喜欢也很依赖frp这款软件, 用了很多年了。 最近有个需求是要把frp客户端嵌到另一个软件中,拉起来调用。 因为是分发出去的软件。 那这个配置文件内容就很敏感了。 不知道是否可以提供一个加密的方式。 frpc.toml里面的内容有个办法能加密, 然后启动时./frpc -c ./frpc.toml 在参数里多加个密钥参数。 客户端读取时就能解密正常配置了。 或者frpc.toml这种配置文件,能不能指定一个url 从网络上加载进来呢? ### Describe alternatives you've considered _No response_ ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [x] Security - [x] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [x] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 14:26:58 -06:00
Author
Owner

@jjhesk commented on GitHub (Jun 27, 2025):

  1. modify the configuration loading mechanism to support fetching the configuration file from an HTTP or HTTPS URL.
  2. This change will be applied to both frpc and frps for consistency, so you can use remote configurations for both client and server if you wish.
  3. When a URL is provided for the configuration file, frp will download it and parse it in memory, avoiding the need to store sensitive information on the local disk.
<!-- gh-comment-id:3011877779 --> @jjhesk commented on GitHub (Jun 27, 2025): 1. modify the configuration loading mechanism to support fetching the configuration file from an HTTP or HTTPS URL. 2. This change will be applied to both frpc and frps for consistency, so you can use remote configurations for both client and server if you wish. 3. When a URL is provided for the configuration file, frp will download it and parse it in memory, avoiding the need to store sensitive information on the local disk.
Author
Owner

@github-actions[bot] commented on GitHub (Jul 12, 2025):

Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.

<!-- gh-comment-id:3064433044 --> @github-actions[bot] commented on GitHub (Jul 12, 2025): Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.
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#3830
No description provided.