Nicolas DORIER [ARCHIVE] on Nostr: π
Original date posted:2015-01-28 π Original message:I agree that the use ...
π
Original date posted:2015-01-28
π Original message:I agree that the use protocol buffer and x509 by BIP70 is a poor choice.
The choice should have been done to maximize portability, not to maximize
efficiency and flexibility.
What I ended up doing for having a similar codebase on all plateform is to
parse a BIP70 messages with the help of a web service that convert it to
JSON.
I don't like this solution since it had a trust dependency, and the
certificate verification become handled by the web service, not the device.
But even if I solved google buffer problem, I would stumble upon having
headache to validate the x509 certificate chain on every plateforms.
A simple BIP70 using JSON + HTTPS would have make things more easy.
I agree that it requires that the merchant own the domain name of the BIP70
endpoint, but I don't consider such a big of a deal, since this is how
e-commerce works.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20150128/6e5b0a0e/attachment.html>
Published at
2023-06-07 15:28:40Event JSON
{
"id": "cfc67eebdb50ca22b7b7a2ccf44ce1cf3eee0a85bed03e41b8f2fb95e1f32f37",
"pubkey": "c36b9d72893255290a608e60c6cc55354b3925bc3ec3afd1872ee6ee68c59778",
"created_at": 1686151720,
"kind": 1,
"tags": [
[
"e",
"e1f7de9a3cc96853dcc43455df7f54523449e553ee4cde336d6870fe0e40792d",
"",
"root"
],
[
"e",
"c5bec50ca93ed8532e09c739c1ced2774b1af7d04dea54e4af81e776885db00e",
"",
"reply"
],
[
"p",
"b25e10e25d470d9b215521b50da0dfe7a209bec7fedeb53860c3e180ffdc8c11"
]
],
"content": "π
Original date posted:2015-01-28\nπ Original message:I agree that the use protocol buffer and x509 by BIP70 is a poor choice.\n\nThe choice should have been done to maximize portability, not to maximize\nefficiency and flexibility.\n\nWhat I ended up doing for having a similar codebase on all plateform is to\nparse a BIP70 messages with the help of a web service that convert it to\nJSON.\nI don't like this solution since it had a trust dependency, and the\ncertificate verification become handled by the web service, not the device.\nBut even if I solved google buffer problem, I would stumble upon having\nheadache to validate the x509 certificate chain on every plateforms.\n\nA simple BIP70 using JSON + HTTPS would have make things more easy.\nI agree that it requires that the merchant own the domain name of the BIP70\nendpoint, but I don't consider such a big of a deal, since this is how\ne-commerce works.\n-------------- next part --------------\nAn HTML attachment was scrubbed...\nURL: \u003chttp://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20150128/6e5b0a0e/attachment.html\u003e",
"sig": "d49f9f38b3617e20b54db9af6a62e474be5570d0ea5fbb5a7fb24a80564240aeb0a43aac5ce666c4f212daa37691c8222a01c8f1f6d771ae8ce50dfd040e96d4"
}