mirror of
https://github.com/simple-login/app.git
synced 2025-02-20 22:02:54 +08:00
add a bash command to get PUBLIC_KEY from dkim.pub.key
This commit is contained in:
parent
81b50f38cf
commit
bd8af17171
1 changed files with 6 additions and 0 deletions
|
@ -184,6 +184,12 @@ gh
|
|||
|
||||
then the `PUBLIC_KEY` would be `abcdefgh`.
|
||||
|
||||
You can get the `PUBLIC_KEY` by running this command:
|
||||
|
||||
```bash
|
||||
sed "s/-----BEGIN PUBLIC KEY-----/v=DKIM1; k=rsa; p=/g" dkim.pub.key | sed 's/-----END PUBLIC KEY-----//g' |tr -d '\n'
|
||||
```
|
||||
|
||||
To verify, the following command
|
||||
|
||||
```bash
|
||||
|
|
Loading…
Reference in a new issue