RegentLock – 桌面/离线应用程序的软件许可

1作者: fintexa6 个月前
我为桌面和企业软件构建了一个授权许可系统。发帖是为了宣传并从 HN 获取反馈。<p><pre><code> 我遇到的问题 我销售商业工程软件(核/热工水力学仿真工具)。我的客户经常在隔离环境中工作——政府实验室、国防承包商、以及拥有严格 IT 政策的公用事业公司。现有的授权许可解决方案要么假设始终在线连接,要么需要重量级的 SDK,要么定价针对财富 500 强公司。 RegentLock 的作用 这是一个用于生成、激活和管理软件许可证的授权许可后端 + API。加密技术很简单:使用 Ed25519 进行签名,ChaCha20-Poly1305 进行许可证文件加密。许可证在激活后在本地进行验证——无需回传(尽管您可以根据需要配置签到策略)。 支持: - 节点锁定和浮动许可证 - 离线/隔离环境激活(生成请求文件 → 在已连接的机器上处理 → 传输许可证) - 可重新托管的许可证(客户可以撤销许可证并将其移动到新硬件上) - 通过 MAC 地址、磁盘序列号或便携式“可重新托管” ID 进行硬件绑定 集成 REST API。我提供了 C、Go、Python、Java 和 C# 的集成示例。典型的集成大约需要 50-100 行代码——在启动时验证许可证、检查过期时间、验证签名。 定价 独立开发者套餐,每年 349 美元,适用于单人开发者(500 次激活)。入门套餐为每年 1,499 美元。我不想与 Gumroad 竞争 10 美元的电子书市场——这适用于需要真正保护的软件。 我正在寻找什么 - 关于该方法的反馈 - 我尚未考虑到的边缘情况 - 该功能集是否适合您的用例 网站:https://regentlock.net 功能:https://regentlock.net/features.html 乐于回答有关实施的技术问题。</code></pre>
查看原文
I built a licensing system for desktop and enterprise software. Posting to get the word out and get feedback from HN.<p><pre><code> The problem I had I ship commercial engineering software (nuclear&#x2F;thermal-hydraulics simulation tools). My customers often work in air-gapped environments - government labs, defense contractors, utilities with strict IT policies. Existing licensing solutions either assumed always-online connectivity, required heavyweight SDKs, or were priced for Fortune 500 companies. What RegentLock does It&#x27;s a licensing backend + API for generating, activating, and managing software licenses. The crypto is straightforward: Ed25519 for signing, ChaCha20-Poly1305 for license file encryption. Licenses are validated locally after activation - no phone-home required (though you can configure check-in policies if you want). Supports: - Node-locked and floating licenses - Offline&#x2F;air-gapped activation (generate request file → process on connected machine → transfer license back) - Rehostable licenses (customers can revoke and move to new hardware) - Hardware binding via MAC, disk serial, or a portable &quot;rehostable&quot; ID Integration REST API. I have integration examples for C, Go, Python, Java, and C#. Typical integration is ~50-100 lines - validate license on startup, check expiration, verify signature. Pricing Indie tier at $349&#x2F;year for solo devs (500 activations). Starter is $1,499&#x2F;year. I&#x27;m not trying to compete with Gumroad for $10 e-books - this is for people shipping software that actually needs protection. What I&#x27;m looking for - Feedback on the approach - Edge cases I haven&#x27;t considered - Whether the feature set makes sense for your use case Website: https:&#x2F;&#x2F;regentlock.net Features: https:&#x2F;&#x2F;regentlock.net&#x2F;features.html Happy to answer technical questions about the implementation.</code></pre>