https://github.com/geberl/swift-license-manager
Generate and validate license codes
https://github.com/geberl/swift-license-manager
fastspring license-generator license-keys macos swift xcode
Last synced: 10 months ago
JSON representation
Generate and validate license codes
- Host: GitHub
- URL: https://github.com/geberl/swift-license-manager
- Owner: geberl
- License: mit
- Created: 2019-08-20T05:16:29.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2022-09-24T20:47:27.000Z (over 3 years ago)
- Last Synced: 2025-04-10T05:40:09.512Z (about 1 year ago)
- Topics: fastspring, license-generator, license-keys, macos, swift, xcode
- Language: Swift
- Size: 1.11 MB
- Stars: 13
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# License Manager
*Generate and validate license keys.*

## Note
This was originally written while [DropPy](https://github.com/geberl/swift-droppy) was a commercial app and [Fastspring](https://fastspring.com/) was used to purchase licenses.
Now the app open source, so I don't need this any more. Feel free to use, probably generate your own DSA keys though.
## Generating DSA keys
Info:
- OpenSSL is already installed on macOS
- These are 512bit DSA keys
Ran the following commands in this order:
- `openssl dsaparam -out dsaparam.pem 512`
- `openssl gendsa -out privkey.pem dsaparam.pem`
- `openssl dsa -in privkey.pem -pubout -out pubkey.pem`
Documentation:
- [https://github.com/glebd/cocoafob/readme.md]()
- Section "Generating Keys"
Came out with those three files:
- dsaparam.pem
- privkey.pem
- pubkey.pem
## CocoaFob
### Version
- Cloned the repo at [https://github.com/glebd/cocoafob]() on 2017-09-20
- Not very active, the last commit was 2 years ago
- Used the files from there (subfolder "swift3/CocoaFob")
- A zip of the repo at that point in time is stored in "Resources"
### cocoafob-keygen
- I could not get this to run on my machine (macOS 10.12, Xcode 9)
- So I built my own version