erincandescent ⎔ on Nostr: I find myself working with JOSE (not my choice, protocol dictates :<) at the moment ...
I find myself working with JOSE (not my choice, protocol dictates :<) at the moment and I'm slowly going insane at the levels of recursive base64 involved
e.g. if you end up doing signed-and-encrypted JWTs you end up with `base64(encrypt(base64(json)))`
Published at
2024-12-22 20:02:59 UTCEvent JSON
{
"id": "3f94e32b10fd069a41c466d8c254900117337a74fcecbf88669bc923cf218221",
"pubkey": "468878c91d131ccf3492e99b7e481e8228eefd937c95e88a83530e3736f1505a",
"created_at": 1734897779,
"kind": 1,
"tags": [
[
"emoji",
"floofWoozy",
"https://akko.erincandescent.net/emoji/floof/floofWoozy_256.png"
],
[
"proxy",
"https://akko.erincandescent.net/objects/93b3c8c2-eb25-43b1-a6c5-832081bedfe2",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://akko.erincandescent.net/objects/93b3c8c2-eb25-43b1-a6c5-832081bedfe2",
"pink.momostr"
],
[
"-"
]
],
"content": "I find myself working with JOSE (not my choice, protocol dictates :\u003c) at the moment and I'm slowly going insane at the levels of recursive base64 involved :floofWoozy:\r\n\r\ne.g. if you end up doing signed-and-encrypted JWTs you end up with `base64(encrypt(base64(json)))`",
"sig": "8114598ccdda9fd89a72e4fd8e7b3350b5d2f6a1203f50244241aedd807af52109a44b21f6dafef68ecea6945c8ab9a0034cc78ab7fd50574ebbfb48f60bbe3b"
}