[PR #302] [MERGED] feat: set config file permissions to 0o600 on unix #472

Closed
opened 2026-02-28 14:33:08 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jpochyla/psst/pull/302
Author: @cyyynthia
Created: 5/26/2022
Status: Merged
Merged: 7/29/2022
Merged by: @jpochyla

Base: masterHead: feat/unix-config-perm


📝 Commits (1)

  • 2fa55f4 feat: set permissions to 0o600 on unix

📊 Changes

1 file changed (+12 additions, -1 deletions)

View changed files

📝 psst-gui/src/data/config.rs (+12 -1)

📄 Description

This ensures credentials/auth tokens cannot be retrieved by other users.

I have little experience with Rust, especially with taking cross-platform into account, so I hope I did it right 😅


🔄 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/jpochyla/psst/pull/302 **Author:** [@cyyynthia](https://github.com/cyyynthia) **Created:** 5/26/2022 **Status:** ✅ Merged **Merged:** 7/29/2022 **Merged by:** [@jpochyla](https://github.com/jpochyla) **Base:** `master` ← **Head:** `feat/unix-config-perm` --- ### 📝 Commits (1) - [`2fa55f4`](https://github.com/jpochyla/psst/commit/2fa55f4df3a20bf733aad729cfaca43daeb96940) feat: set permissions to 0o600 on unix ### 📊 Changes **1 file changed** (+12 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `psst-gui/src/data/config.rs` (+12 -1) </details> ### 📄 Description This ensures credentials/auth tokens cannot be retrieved by other users. I have little experience with Rust, especially with taking cross-platform into account, so I hope I did it right 😅 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 14:33:08 +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/psst#472
No description provided.