News for hackers. Stuff that matters.
Re:Ask HN: How to license Python software with keys? by __d on Wednesday December 18, 2019 @05:17PM (#21830061)
A quick web search turns up

https://cryptolens.io/2019/01/python-code-for-software-licen...

I've never used it; this is not a recommendation.

That said, it's not a difficult thing to implement. Generate a keypair, embed the public key in the application source, use it to decrypt a pickled dictionary containing whatever attributes you want to license.

Remember that being Python, it's easier than most languages to find the if statements that need to be bypassed to remove the licence checks.

There are no comments on this comment yet.