Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As wroersma, I want to encrypt my config file, so I can secure my API key #7

Open
11 tasks
AlbinoGeek opened this issue Nov 13, 2020 · 1 comment
Open
11 tasks
Assignees
Labels
enhancement New feature or request

Comments

@AlbinoGeek
Copy link
Owner

  • Move away from viper for configuration
    • package types
      • Config struct
      • Config.Load(filename) error
      • Config.LoadEncrypted(filename, passphrase) error
      • Config.Save(filename) error
      • Config.SaveEncrypted(filename, passphrase) error
      • NewConfig() *Config
    • Detect Encrypted Configuration presence
      • Request passphrase on startup to decrypt
      • Scrub passphrase from memory after decryption
@AlbinoGeek AlbinoGeek added the enhancement New feature or request label Nov 13, 2020
@AlbinoGeek AlbinoGeek self-assigned this Nov 13, 2020
@AlbinoGeek
Copy link
Owner Author

@wroersma Does this meet what you described?

@AlbinoGeek AlbinoGeek changed the title As vTriple, I want to encrypt my config file, so I can secure my API key As wroersma, I want to encrypt my config file, so I can secure my API key Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant