Compare commits
2 commits
a320f3834a
...
c2626cc138
Author | SHA1 | Date | |
---|---|---|---|
Simon Bruder | c2626cc138 | ||
Simon Bruder | 1f852ef219 |
|
@ -24,6 +24,7 @@ async fn main() -> std::io::Result<()> {
|
||||||
|
|
||||||
let config = Config::parse();
|
let config = Config::parse();
|
||||||
|
|
||||||
|
// generate a secret key with head -c 64 /dev/urandom | base64 -w0
|
||||||
let secret_key = match config.secret_key {
|
let secret_key = match config.secret_key {
|
||||||
Some(ref encoded) => Key::from(
|
Some(ref encoded) => Key::from(
|
||||||
&BASE64_STANDARD
|
&BASE64_STANDARD
|
||||||
|
|
Loading…
Reference in a new issue