~skovati/website

822d8e846eabefad67d613e2b8825f620fd2cdea — skovati a month ago 3911fa0
read pub key in astro page
1 files changed, 5 insertions(+), 30 deletions(-)

M src/pages/pgp.astro
M src/pages/pgp.astro => src/pages/pgp.astro +5 -30
@@ 1,8 1,12 @@
---
import fs from "node:fs";

import Base from "../layouts/Base.astro";
import FormattedDate from "../components/FormattedDate.astro";

const lastUpdated = new Date("2024-04-26");

const key = fs.readFileSync("../../public/pub.gpg", "utf8");
---

<Base>


@@ 20,36 24,7 @@ See https://skovati.dev/pub.gpg for a scriptable format.
</pre>

<pre>
-----BEGIN PGP PUBLIC KEY BLOCK-----

mDMEYAtSuxYJKwYBBAHaRw8BAQdAagzyhuHTZyCiMd7c+4v5Epxeokb5zIEaviK9
fBh4Efm0GnNrb3ZhdGkgPG1haWxAc2tvdmF0aS5kZXY+iI4EExYKADYWIQTYLLgU
9caVar0tvUBQJuQGt7OBjwUCYttiVQIbAQQLCQgHBBUKCQgFFgIDAQACHgECF4AA
CgkQUCbkBrezgY9SuAD9GBuZusFFhegvShcczqio20Y0qm59THt3HMrKgQWoOv4B
AI5vowJ3zV3Oc6+95FUDsm3zfS5SU4vTOdZi0qP3tTMHtC1za292YXRpIChtYXN0
ZXIga2V5KSA8c2tvdmF0aUBwcm90b25tYWlsLmNvbT6IkAQTFggAOAULCQgHAgYV
CgkICwIEFgIDAQIeAQIXgAIbARYhBNgsuBT1xpVqvS29QFAm5Aa3s4GPBQJgGCp9
AAoJEFAm5Aa3s4GPFAYBAIE5+FtBZqGFYV8lzjwl0xjMt2lq33Ra8STc9FxniaPr
AP9x4KPQs92a/ihZwHOgiP/pfQtCWT8c0b2XFv1HHZg/AoiWBBMWCAA+BQkB4TOA
BQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAFiEE2Cy4FPXGlWq9Lb1AUCbkBrezgY8F
AmALVJ4CGwEACgkQUCbkBrezgY/f+gD+KEmYdxN/u5cEqxA1T8114xxzQRevki3a
peJfrYLEf2gBALaG0tQF4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