MkKeysTl180107.zip (78K) a zipped hfs disk image and checksum file. The disk image can be mounted with Mini vMac. Includes source code.
MkKeysTl is a tool that can be used in Macintosh Programmer’s Workshop to generate secret and public key pairs for use in making and verifying digital signatures, such as with the SigWrtTl and SigChkTl tools. It is still in development, and its behavior will likely change before it is finished.
It takes three arguments: First, a path to a file containing about 150 truly random bytes (not psuedo-random). Second, a path to a new output file in which to put the secret key. And third, a path to a new output file in which to put the public key. While it runs, temporary files are created in the current directory.
MkKeysTl is descended from MacPGP source code, which, as far as I can tell, allows derived works for noncommercial use.
MkKeysTl creates 1024 bit keys, with the user name "anon". It does not encrypt the secret key. MacPGP has various code to try to protect secrets from other software running on the computer. MkKeysTl does not, instead you should try to secure the entire virtual machine that it is run in. Such as by putting the Mini vMac disk image on an encrypted volume of the host computer, for a start.
Here is the md5 checksum for the download:
-----BEGIN PGP SIGNED MESSAGE----- e6962e11ab685615e8b8858fedead418 MkKeysTl180107.zip -----BEGIN PGP SIGNATURE----- Version: 2.6.3ia Charset: noconv iQCVAwUBWlN/CNiugru7WJg5AQGPPAP/a8ujdgoOoI/xZsEjLdzHzq+9DMVSTGp+ 39WCIW+R0XMdkSIFfGMtsobFA5z6qhVaC3M2K2hvvOZvqZckKR5nHZhPApV4zF+u V26V/HIGYbWoFpRHVv3FD2NJpk/JCWUc5Tt0xM1lqxbFUXuUevFKqlrArFQj+Run Xk9hhHWLxzo= =tLBB -----END PGP SIGNATURE-----
See the Compiling page for instructions on compiling MkKeysTl from the source code.
If you find MkKeysTl useful, please consider helping the Gryphel Project, of which it is a part.