Render code differently to allow select-all
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Yarmo Mackenbach 2020-06-17 14:32:05 +02:00
parent ee028ccf54
commit 2c32d66aed

View File

@ -29,8 +29,7 @@ Let's say I, Yarmo, would really like the world to know that I like pineapple. U
The signed statement:
```text
-----BEGIN PGP SIGNED MESSAGE-----
<pre class="select-all"><code>-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
I like pineapple.
@ -49,8 +48,7 @@ WV1D2jtN+zSU+PY2/exQ07fcHTYZxnBwwyDhAEvc4JZ2f3ezNuliOi5P+cyT+S/m
/zrFCrcz+G7TN3jzh3mmA4q6dNDIVJ6R04VQzy+Up3n2JlzlAb6aKyJBrDLAKuvC
whF+3jc244bVxfhiQKDL+7mwBZdo0oJ8VC8zFNas5DW8UWpMipQ=
=G0ZY
-----END PGP SIGNATURE-----
```
-----END PGP SIGNATURE-----</code></pre>
Use this as "Message" on [OPSV](https://opsv.foss.guru/).
@ -74,8 +72,7 @@ One could not sign a statement with my private key: I, and only I, have access t
One could however simply take any of my signed messages and change the content. Like so:
```text
-----BEGIN PGP SIGNED MESSAGE-----
<pre class="select-all"><code>-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
I like privacy invasion.
@ -94,8 +91,7 @@ jkzVPfs/HkbR7pkM+Ow8KgixOoT4vDkQw9SsED8gKKdvhGtkDJ6WgEnQWFrA0y+h
kTR47U59256K2ASfElrgjT1z/OwD5dkkfGq50pl/wxg1AoRuM4lEuB1GG4L6RtIz
hRYaIde4Vjx0djPTP6OCLbCbTt1WxekdS2e4cDzcUQlnFKFLn1k=
=EiD6
-----END PGP SIGNATURE-----
```
-----END PGP SIGNATURE-----</code></pre>
Given the wording of the statement, you naturally doubt the origin of it being me. You run it through OPSV and indeed, this is not what I wrote!