Commit 7697b30c authored by Philippe Blain's avatar Philippe Blain

x509_signed_commits: Make 'gpgsm' command copy-pastable

The syntax for Bash variable assignment is 'var=value', without any
spaces.  Make the 'gpgsm' command used to define the 'signingkey'
variable copy-pastable by removing the spaces on each side of the equal
sign.
parent 2644bc04
...@@ -88,7 +88,7 @@ If you have the correct version, you can proceed to configure Git. ...@@ -88,7 +88,7 @@ If you have the correct version, you can proceed to configure Git.
Configure Git to use your key for signing: Configure Git to use your key for signing:
```shell ```shell
signingkey = $( gpgsm --list-secret-keys | egrep '(key usage|ID)' | grep -B 1 digitalSignature | awk '/ID/ {print $2}' ) signingkey=$( gpgsm --list-secret-keys | egrep '(key usage|ID)' | grep -B 1 digitalSignature | awk '/ID/ {print $2}' )
git config --global user.signingkey $signingkey git config --global user.signingkey $signingkey
git config --global gpg.format x509 git config --global gpg.format x509
``` ```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment