015e8d02205539e835cca57da82a663b2b01ed65
Tech/GnuPGKeyManagement.md
... | ... | @@ -185,11 +185,11 @@ RSA keys of at least 2048 bits should be used. |
185 | 185 | # Replacing Expired Subkeys |
186 | 186 | |
187 | 187 | * Add new encryption subkey with 5-year expiry. |
188 | - |
|
188 | + ``` |
|
189 | 189 | gpg --edit FEEDBEEF |
190 | 190 | gpg> list |
191 | 191 | gpg> addkey |
192 | - |
|
192 | + ``` |
|
193 | 193 | |
194 | 194 | |
195 | 195 | |
... | ... | @@ -205,11 +205,11 @@ GPG always selects the newest valid subkey. |
205 | 205 | To remove the 2nd subkey: |
206 | 206 | |
207 | 207 | |
208 | - |
|
208 | + ``` |
|
209 | 209 | gpg --edit DEADBEEF |
210 | 210 | gpg> key 2 |
211 | 211 | gpg> delkey |
212 | - |
|
212 | + ``` |
|
213 | 213 | |
214 | 214 | |
215 | 215 |