[PR #53] [CLOSED] Save secret key file to XDG data directory #90

Closed
opened 2026-03-02 23:02:16 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/agrinman/tunnelto/pull/53
Author: @Siilwyn
Created: 6/23/2021
Status: Closed

Base: masterHead: follow-xdg-dir


📝 Commits (1)

  • 400d96d Save secret key file to XDG data directory

📊 Changes

3 files changed (+29 additions, -36 deletions)

View changed files

📝 Cargo.lock (+22 -29)
📝 tunnelto/Cargo.toml (+1 -1)
📝 tunnelto/src/config.rs (+6 -6)

📄 Description

Closes #27

This doesn't completely fix #27 because it misses a nice error message and doesn't check the previous location.
I also took the freedom to update the dirs crate and rename the location variables since the secret key is not a setting to be shared but instead app data.


🔄 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/agrinman/tunnelto/pull/53 **Author:** [@Siilwyn](https://github.com/Siilwyn) **Created:** 6/23/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `follow-xdg-dir` --- ### 📝 Commits (1) - [`400d96d`](https://github.com/agrinman/tunnelto/commit/400d96d7b3f86b514ce9e092151e0363ffbca58c) Save secret key file to XDG data directory ### 📊 Changes **3 files changed** (+29 additions, -36 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+22 -29) 📝 `tunnelto/Cargo.toml` (+1 -1) 📝 `tunnelto/src/config.rs` (+6 -6) </details> ### 📄 Description Closes #27 This doesn't completely fix #27 because it misses a nice error message and doesn't check the previous location. I also took the freedom to update the dirs crate and rename the location variables since the secret key is not a setting to be shared but instead app data. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 23:02:16 +03: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
starred/tunnelto#90
No description provided.