Features
- The command-line interface (CLI) has been redesigned. For details, see the Options.
- The dependency on PowerShell has been removed. The keygen now writes binary data to the generated file.
Options
Note
When using -e utf8, keygen automatically determines whether to add the utf8: prefix based on the and fields.
| Flag | Description |
|---|---|
-e, --encoding <enc>
| ascii, ansi, utf8 (default)
|
-o, --output <file>
| Output file path (default: rarreg.key)
|
-a, --activate
| Write to %APPDATA%\WinRAR\rarreg.key
|
-t, --text
| Print to console only, don't write file |
-v, --version
| Show version |
-h, --help
| Show help |
Now you can complete the keygen process with a single command.
./winrar-keygen.exe <Username> <LicenseName> -aUpdate
- Simplified GitHub Actions workflows from 3 conditional jobs to a single unified job.
- The keygen icon has been optimized and now supports Windows
128×128and256×256pixel large icons.
Fixes
- Fixed multiple memory and lifecycle issues in BigInteger (missing destructor, double initialization, double-free in move assignment)
- Improved BigInteger::Load() to use const reference instead of copying
- Fixed multiple correctness issues in EllipticCurveGF2m::Point (missing parameters/return, incorrect handling of point-at-infinity and P+(-P))
- Fixed WinRarKeygen random generation bug caused by repeated srand() seeding (could produce identical values or infinite loops)
- Fixed incorrect format specifier for size_t (
%zd→%zu) - Fixed ANSI encoding issue by adding validated WideToAnsi conversion (WC_NO_BEST_FIT_CHARS)