Skip to content

Unsecure: secret key is world-readable + service runs as root + no hardening #9

@tobiasBora

Description

@tobiasBora

Thanks for this package, unfortunately it is not secure since the secretKey option will be written in the public folder /nix, hence any user can read this file. Nix deals with secrets by providing options like secretKeyPath instead to provide a path (outside of the nix store) containing the secrets, and files can either be manually created or via tools like sops-nix.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions