Skip to content

OIDCCryptoPassphrase doesn't work with exec:command anymore #767

Answered by zandbelt
sebastian-goeldi asked this question in Q&A
Discussion options

You must be logged in to vote

I cannot explain the crash, but I do see that the implementation of ap_get_exec_line doesn't allow for shell based input, so you'd have to use:

OIDCCryptoPassphrase "exec:/bin/bash -c \"head /dev/urandom | tr -dc A-Za-z0-9 | head -c 32\""

to get a proper passphrase in the way that you want; can you confirm that?

FWIW: this is the case for me on any version so it does not really explain why it worked before either.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@sebastian-goeldi
Comment options

@zandbelt
Comment options

Comment options

You must be logged in to vote
1 reply
@sebastian-goeldi
Comment options

Answer selected by sebastian-goeldi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants