diff --git a/content/pgp/assets/gpg_import.sh b/content/pgp/assets/gpg_import.sh new file mode 100644 index 0000000..4e51eae --- /dev/null +++ b/content/pgp/assets/gpg_import.sh @@ -0,0 +1 @@ +curl 'https://korhonen.cc/pgp/assets/marko_korhonen_gpg.asc' | gpg --import diff --git a/content/pgp/index.adoc b/content/pgp/index.adoc index 131c2b5..b21066d 100644 --- a/content/pgp/index.adoc +++ b/content/pgp/index.adoc @@ -23,6 +23,13 @@ This is my key fingerprint and it can be found at the link:https://keys.openpgp. link:assets/marko_korhonen_pgp.asc[Click here to download] +To import the key to link:https://gnupg.org[GnuPG] on Linux, run the following command + +[source,shell] +---- +include::assets/gpg_import.sh[] +---- + == OpenKeychain The following QR code is importable in the Android app diff --git a/content/pgp/index.fi.adoc b/content/pgp/index.fi.adoc index bb5255e..0f00bb8 100644 --- a/content/pgp/index.fi.adoc +++ b/content/pgp/index.fi.adoc @@ -22,6 +22,13 @@ Tämä on avaimeni sormenjälki ja se löytyy link:https://keys.openpgp.org/sear link:assets/marko_korhonen_gpg.asc[Klikkaa ladataksesi] +Tuodaksesi avaimen link:https://gnupg.org[GnuPG]:hen Linuxilla, aja seuraava komento + +[source,shell] +---- +include::assets/gpg_import.sh[] +---- + == OpenKeychain Seuraavan QR-koodin voi tuoda link:https://www.openkeychain.org[OpenKeychain] Android-sovellukseen