Nyoro~n on Nostr: You need access to the tls.cert file as the admin.macaroon file, no dependencies ...
You need access to the tls.cert file as the admin.macaroon file, no dependencies required. Concatenate both files and convert macaroon to base64 and feed into whatever lndconnect compatible application.
Reference (w/qrencode to create QRs):
echo 'lndconnect://example.com?cert='"`grep -v 'CERTIFICATE' tls.cert | tr -d '=' | tr '/+' '_-'`"'&macaroon='"`base64 admin.macaroon | tr -d '=' | tr '/+' '_-'`" | tr -d '\n' | qrencode -o /tmp/out.png
Published at
2024-05-09 18:38:54Event JSON
{
"id": "7d1ee406c323de227b18f9519cf28e7538fa95efab4341fdb175c7bc0cda1849",
"pubkey": "13883e40ec1b1940a655fa776ad5d337656a68767968598388148b977e56550f",
"created_at": 1715279934,
"kind": 1,
"tags": [
[
"e",
"7cdac0519b2ab8448faf8789d2ed8648b7008dbe85d0bc5410baa49dd547cacb",
"",
"root"
],
[
"p",
"56a6b75373c8f7b93c53bcae86d8ffbaba9f2a1b38122054fcdb7f3bf645b727"
],
[
"p",
"c6e2ca9f4bb209a0497679603192a0662af23e4481017ed33166bcebcf0a549d"
],
[
"r",
"tls.cert"
],
[
"r",
"admin.macaroon"
],
[
"r",
"example.com?cert='\"`grep"
],
[
"r",
"tls.cert"
],
[
"r",
"admin.macaroon"
],
[
"r",
"out.png"
]
],
"content": "You need access to the tls.cert file as the admin.macaroon file, no dependencies required. Concatenate both files and convert macaroon to base64 and feed into whatever lndconnect compatible application.\n\nReference (w/qrencode to create QRs):\n\necho 'lndconnect://example.com?cert='\"`grep -v 'CERTIFICATE' tls.cert | tr -d '=' | tr '/+' '_-'`\"'\u0026macaroon='\"`base64 admin.macaroon | tr -d '=' | tr '/+' '_-'`\" | tr -d '\\n' | qrencode -o /tmp/out.png",
"sig": "56d49bd0814222bb2cf0219f94a98ad23887efb5944a7f9c338fb0ed64c265b1dea7f88c8a1a89bfe241ea2f55d56cddad7d8cd47aa99f703e94c2c99d39260e"
}