TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Mastering ISO 8583 Message Networking with Golang

43 点作者 alovak9 个月前

3 条评论

skissane9 个月前
For those who don't know what ISO 8583 is: it defines message formats used in payment card transactions (credit cards, debit cards, etc); used by point-of-sale terminals, ATMs, etc
评论 #41397244 未加载
Rygian9 个月前
Remember to not log any sensitive stuff though (credit card number in full, cvv, mag stripe, ongoing payment data,...) if you like your PCI audits to go smoothly.<p>I wonder if this code has proper masking in place for logs. The following line is not reassuring:<p><pre><code> slog.Info(&quot;received message&quot;, &quot;message&quot;, fmt.Sprintf(&quot;%x&quot;, rawMessage))</code></pre>
评论 #41427754 未加载
alovak9 个月前
Hey! While I&#x27;m motivated to write, I&#x27;ve decided not to stop after my first post on ISO 8583 messages (<a href="https:&#x2F;&#x2F;alovak.com&#x2F;2024&#x2F;08&#x2F;15&#x2F;mastering-iso-8583-messages-with-golang&#x2F;" rel="nofollow">https:&#x2F;&#x2F;alovak.com&#x2F;2024&#x2F;08&#x2F;15&#x2F;mastering-iso-8583-messages-wi...</a>) and write a second one. This time, it&#x27;s about ISO 8583 networking: how to connect to a server, send and receive ISO 8583 messages, and how to create a network client for this using Golang. You can read the blog post here: <a href="https:&#x2F;&#x2F;alovak.com&#x2F;2024&#x2F;08&#x2F;27&#x2F;mastering-iso-8583-message-networking-with-golang&#x2F;" rel="nofollow">https:&#x2F;&#x2F;alovak.com&#x2F;2024&#x2F;08&#x2F;27&#x2F;mastering-iso-8583-message-net...</a>.<p>The post describes how to create a simple version of the client, but if you&#x27;re interested in the topic, you can find a production-ready, battle-tested Golang package here: <a href="https:&#x2F;&#x2F;github.com&#x2F;moov-io&#x2F;iso8583-connection">https:&#x2F;&#x2F;github.com&#x2F;moov-io&#x2F;iso8583-connection</a>.<p>And to understand how the whole e2e flow works starting from the seller and finishing with issuer authorizeing the transaction, you can check a demo project here: <a href="https:&#x2F;&#x2F;github.com&#x2F;alovak&#x2F;cardflow-playground">https:&#x2F;&#x2F;github.com&#x2F;alovak&#x2F;cardflow-playground</a>
评论 #41397090 未加载