add a bash command to get PUBLIC_KEY from dkim.pub.key

This commit is contained in:
Son NK 2020-01-28 14:39:09 +07:00
parent 81b50f38cf
commit bd8af17171
1 changed files with 6 additions and 0 deletions

View File

@ -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