RegentLock – 桌面/离线应用的软件许可管理

1作者: fintexa大约 1 个月前原帖
我为桌面和企业软件构建了一个许可系统。发布此信息是为了传播消息并从 Hacker News 获取反馈。 <p><pre><code>我遇到的问题 我发布商业工程软件(核能/热水力学仿真工具)。我的客户通常在隔离的环境中工作——政府实验室、国防承包商、以及有严格 IT 政策的公用事业公司。现有的许可解决方案要么假设始终在线连接,要么需要笨重的软件开发工具包(SDK),或者价格定位于财富500强公司。 RegentLock 的功能 这是一个许可后端 + API,用于生成、激活和管理软件许可证。加密方式简单明了:使用 Ed25519 进行签名,使用 ChaCha20-Poly1305 进行许可证文件加密。许可证在激活后会在本地验证——无需回拨(不过如果需要,您可以配置检查政策)。 支持的功能: - 节点锁定和浮动许可证 - 离线/隔离激活(生成请求文件 → 在连接的机器上处理 → 转移许可证) - 可重新托管的许可证(客户可以撤销并转移到新硬件) - 通过 MAC 地址、磁盘序列号或便携式“可重新托管”ID 进行硬件绑定 集成 REST API。我有 C、Go、Python、Java 和 C# 的集成示例。典型的集成代码大约为 50-100 行——在启动时验证许可证,检查过期情况,验证签名。 定价 独立开发者的定价为每年 349 美元(500 次激活)。入门级为每年 1499 美元。我并不想与 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>