qt应用程序激活

发布于 2024-10-27 16:00:30 字数 165 浏览 6 评论 0原文

有人有在 QT 应用程序中实现基于密钥的产品激活的经验吗?可以是独立的,即在用户计算机上验证密钥,也可以是基于服务器的,即在服务器上验证密钥并启用应用程序。

我计划在 Mac、Windows 和 Linux 上分发。到目前为止,我所看到的商业解决方案对于一个贫穷的、以卧室为基础的开发商来说太昂贵了!

Does anyone have experience of implementing key based product activation inside a QT application? Either standalone i.e. the key is validated on the users machine or server based i.e. the key is validated on the server and the application is enabled.

I'm planning on distributing on Mac, Windows and Linux. The commercial solutions I've seen so far have been far too expensive for a poor, bedroom based developer!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

何以笙箫默 2024-11-03 16:00:30

作为小型或独立开发人员,您最好的选择可能是推出自己的激活密钥系统。生成 CD-Key 的方法有很多种。您需要做什么在很大程度上取决于软件。如果您的客户规模较小且大多数是企业,那么您可能可以采用散列方案。这个想法是为每个客户生成一个密钥,并将有关客户的信息散列到密钥中。这种类型的密钥基于让诚实的人保持诚实的理念。如果这是在互联网上公开出售的东西,您可能需要查看带有激活服务器的公钥私钥系统,该激活服务器将用户的 MAC 与其密钥连接起来。作为客户,这些东西很糟糕,但 id 可以减少盗版。

QCA 是 Qt 加密架构 http://delta.affinix.com/qca/

Botan 看起来很漂亮密码学库,我读到 Qt Creator 使用它 http://botan.randombit.net/

您可以使用 QCryptographicHash到哈希键 http://doc.qt.io/qt-5/qcryptographichash.html

有关公钥的信息 http://williamstallings.com/Extras/Security-Notes/lectures/publickey.html

As a small or indie developer you best choice maybe to roll your own activation key system. There are a lot of ways to generate CD-Keys. What you need to do depends heavily on the software. If your costumer is small and most business then you probably could get away with a hashing scheme. The idea would be to generate a key for each customer that has information about the customer hashed into the key. This type of key is based round the idea of keeping honst people honst. If this is something being sold openly on the internet you may want to look at a public private key system with an activation server that connects a users MAC to their key. As a customer these thins suck but id can reduce piracy.

QCA is Qt Cryptographic Architecture http://delta.affinix.com/qca/

Botan is a nice looking cryptography library, I read that Qt Creator uses it http://botan.randombit.net/

You can use QCryptographicHash to hash keys http://doc.qt.io/qt-5/qcryptographichash.html

Info on public keys http://williamstallings.com/Extras/Security-Notes/lectures/publickey.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文