ルモーリン

暗号ごっこ

投稿:2019-04-04

こんなツイートを見かけました。

これが私の公開鍵です。 あれ、公開鍵は公開してもいいんだよね?(・_・ ) ( ・_・)

-----BEGIN PGP PUBLIC KEY BLOCK-----

mQINBFx3ZS8BEACh2HNslrRX6SuW316z83mXyoYcn6IUkgr2MNM/V/sSYmWt1hN9
7DB4rfGqFtpoNzcyT5vEPTEKP/o71Pd/yg77tzScEoHpgQXF0s0HAmwPlutdwLk0
8bnbCqfPDtUFOKoPXayffpcfhq74bs67bbqO3xoXqwVRYCcShJV12bRNyZE/uDa2
bnBtRTTM/CYUrrZysziyj6CtDwM3aum4aV3w3Au1r7n3yqKTeKAz94oVyvuAYAcm
OQ8FRO7+boPZ2ExlYXluVVxhI4KqW0yj/lMUqeANVCeGL1X55bPm1jr0hc5exaxZ
40+xgJjjh82qJscdFL8HAJwkSnReMXwq9HLxKBIl7Bxy4PvnGF4fw5JyWu6BrVn0
9gKUNctHqCHLzdNd/35hJHiZ4FpFwi/Ybc7V11+q6ry2Kedxo99MgJzwHMUNZf9m
AYavkH4kwikyy0vxVopRyYmyCqUPp81DM3ocx3qARlxzuF4rvqguKVYcxYZz816D
YqhXmqdBp2Zz1M9EIbiYV10Rrcf5p7m+jD3JhrT17/5LwLJ2c+tpWmYpjTBF3KZ/
BWUvMS9id1kqo5Z7X9Nud+KsB5qMT+TmaBH36vZ6Mdt8dZDOwpOEKH59fWdT8mdi
PJo8DSUV8Bi1nmYTIgryT6oTjwxuKI/gkM6Fpi71+YU7yEeRxN4Az25PsQARAQAB
tBxsZW1vcmluIDxsZW1vcmluQGxlbW9yaW4uanA+iQJUBBMBCAA+FiEEwEitvUyx
vuFkiJK9JKNDPIuht94FAlx3ZS8CGwMFCQGTVIEFCwkIBwIGFQoJCAsCBBYCAwEC
HgECF4AACgkQJKNDPIuht976mBAAmZ3+kX7hoMznUfe42LakXRVLVwkVYerWKU38
f3O95Fp70joF19B0suVET+xfR2lz4fYMBD1hrNrEjpGmpkDkbIV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Lと私のアカウント名を含む文書に署名しました。

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

たこルカΩは俺の嫁
ルモーリン(lemorin_jp)
https://www.lemorin.jp
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEwEitvUyxvuFkiJK9JKNDPIuht94FAlyl3bYACgkQJKNDPIuh
t94hixAAhXIY/TYO7f3uBTdw/+UxkADKoepEjCPyQfabTw3xP9L8MFgkvmuFgBmI
dMtKRobUVvGpTfnWGUJlq0zykAZXQ1EFjv3ho0VmJphH9dKi98KDzD5i9U9J2Aqe
hOgV84z0nB3njTr4HFqqfyyf3UI2sjlXZMMlVm/GW5jkfoxG4bLTceZZieGj17zV
C0mEmCjbT1kOi93p5z3V4+3ZFAEWOglkfZvO//q32+RHDCb4WvQSbhLhXuMEY+r8
vuHsFne9CK67bkKlfOiyCCZtiQ4V3+MJt7S7rv6Mowqf6fYWiUWGo0KMxsrwz+3u
/lj6xHxEF5jNNG5Ncm+bz4K+RbBP2T9v9KSwW0Xc3RwmvESsFbFq7BJQw1PTk54d
JjG2i+z2/IefKTRprBSIjk1QfXqANJy0UXplyFOh9+4Dq3wikribEId8et0tMpUl
spWkj1+DRgh1La7BjIVeOJFs5xOByI5TT/4iRyznkLbUq78wSDme1CX4Oc/8o+sZ
uPSGd3GTmxAHDtr6VnCkx07LMxoH7/6/NrIEnJ+5OAdbD1bWETaYgpU0ZQ8BrE9E
6FP04eKHsPJa1D6gzDk8OVUODSUOZLG/yFNGDz7dLHB0Iio9zCD8SIU/HkP/WRD+
73mVnFJAvyq7BkqeieMGnmq2XDUlwdoRbz7vYGPtl/UP3E7sF+U=
=Wuh9
-----END PGP SIGNATURE-----

公開鍵で署名を検証して妥当であれば文書内のアカウントとドメインと秘密鍵の所有者が一致します。 秘密鍵と公開鍵は一組のペアであるから公開鍵の所有者も同じなので私の公開鍵です。 と、こんな感じで証明したことになる(といいなあ)。