Option to Provide Password Through File

Open
#1,599 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
haskell
Domain
backend, security

Research direction

Start by locating the password configuration handling for smp-server and xftp-server and read how those services load their config. Check whether existing configuration or secret-loading tests cover password values. Done means both servers can accept a password from a system file, while preserving the existing hard-coded configuration option for Nix secret integration.

Written by the indexing model from the issue text.

Description

I am currently packaging and making a nixos module for the smp-server and xftp-server and everything is going well so far, but I noticed that the server can only use a password hard coded into the config file. Could you provide an option to use a password from a file on the system as well? This would make it very easy to integrate with current secret mechanics for nix.

Dominant language
Haskell
Stars
847
Forks
111
Avg merge
3d 11h
Merged PRs (30d)
9

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from simplex-chat/simplexmq

All issues in simplex-chat/simplexmq

Similar issues

More Haskell issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.