-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
nixos/vault: implement RFC0042 #328002
nixos/vault: implement RFC0042 #328002
Conversation
listenerExtraConfig = mkOption { | ||
type = types.lines; | ||
default = '' | ||
tls_min_version = "tls12" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was removed because this is already the default value vault
uses and therefore redundant
source: https://developer.hashicorp.com/vault/docs/configuration/listener/tcp#tls_min_version
Thank you for tagging me (@jelle-bigbridge is my old account). Unfortunately I'm unable to test this as we migrated off of vault at work. The changes do seem good to me however. I recommend merging when the module is tested properly |
@ofborg test vault |
@ofborg build vault |
unfree so i don't think anything will go here... i ran all tests locally, though |
It is |
Perhaps OpenBao support could be added; that's proper open source, and would run in ofborg without any changes. |
yeah, i am sure someone will package it soon enough 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hope this can make the config file generation simpler and more robust, but I can't promise that.
Does hydra build unfreeRedistributable? Maybe we need to change license to this. |
given the work @roberth and @MattSturgeon have done on a if you ever feel inclined to continue the great work you were doing please ping me @MattSturgeon, as the |
Description of changes
this PR contributes to #144575 by migrating the
vault
module to RFC42i intended this change to be as minimally intrusive as possible, though one might argue i'm breaking stuff willy nilly because i removed 4 options:
listenerExtraConfig
,storageConfig
,telemetryConfig
, andextraConfig
while i feel bad about breaking things the added maintenance burden in generating a configuration file that preserves these removed options isn't worth the hassle for people who work on this module
remaining tasks:
vault
instance which uses theraft
storage protocolcc @jelle-bigbridge as someone who somewhat recently contributed to the module... maybe you want to test this 😄
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.