This folder holds some command-line or visual tools, to be used with the mORMot Open Source framework, version 2.
Each Tool will have its own dedicated sub-folder.
The ecc
command-line tool manages certificate-based public-key cryptography using ECC-secp256r1
- Public/private key pairs generation using
new
/rekey
/source
/infopriv
; - Safe key chaining using
chain
/chainall
; - ECDSA digital signature using
sign
/verify
; - ECIES encryption using
crypt
/decrypt
/infocrypt
; - Symmetric encryption via
aeadcrypt
/aeaddecrypt
; - Centralized passwords management via
cheatinit
/cheat
.
The Angelize (agl
) tool is able to run one or several executables as daemon/services
- Implemented as a main standard OS service (Windows) or daemon (Linux);
- Launches and stops sub-processes defined in JSON setting files;
- A WatchDog can check the availibility of a sub-service on regular basis;
- Can redirect the console output, restart on problem, notify issues;
- Command line switches are available for status listing or main actions.
The mab
command-line Tool can generate .mab
files from existing .map
or .dbg
files
- If some
.map
file name is specified (you can use wild chars), it will process all those.map
files, then create the corresponding.mab
files; - If some
.exe
/.dll
file name is specified (you can use wild chars), will process all matching.exe
/.dll
files with an associated.map
file, and will create the.mab
files, then embedd the.mab
content to the.exe
/.dll
; - If no file name is specified, will process
*.map
into*.mab
from the current directory; - With FPC, will use DWARF debugging information instead of the
.map
file.
The mORMot GET (mget
) command-line tool can retrieve files using HTTP or HTTPS, similar to the well-known homonymous GNU WGet tool, but with some unique features provided by mORMot 2:
- Can resume aborted downloads, using
RANGE
headers; - Can compute and verify the hash of the downloaded content;
- Can brodcast and download from a local network peer cache. Those last two features are quite unique and efficient.
The mORMot OpenAPI (mopenapi
) command-Line tool can generate Delphi/FPC client .pas units from OpenAPI/Swagger .json specifications.
Example of usage:
./mopenapi --help
mopenapi swagger.json PetStore
mopenapi OpenApiAuth.json /concise
./mopenapi test.json --options=DtoNoExample,DtoNoPattern