- The default directory for locating keys was changed from
_sshto.sshto follow standard conventions.
- The package code was refactored to improve readability and maintainability.
save_and_lock()was added. This function combines saving and locking data into a single step.staticrypt()was added. This function creates an interface with the Staticrypt tool for encrypting HTML files.
encryptrpakwas renamed tolockr.encryptranddevtoolsare no longer in the import dependence list.encrypt_extdata()anddecrypt_extdata()were superseded and removed from the package.get_private_key(),get_public_key(),get_private_key_path(), andget_public_key_path()were removed from the package. Please useopensslfor reading keys.rsa_keygen()was added. This function facilitates the creation of RSA key pairs.lock_file()andunlock_file()were added. These functions allow the user to encrypt or decrypt individual files.lock_dir()andunlock_dir()were added. These functions allow the user to encrypt or decrypt all files inside a directory.
get_private_key_path()andget_public_key_path()are now exported functions.- An argument called
devtools_loadwas added toget_private_key(),get_public_key(),get_private_key_path(),get_public_key_path(),encrypt_extdata(), anddecrypt_extdata(). This allows developers to load packages to memory before running the functions. Thedevtools_loadargument is always set toFALSE.
- First
lockrrelease. 🎉
- Added a
NEWS.mdfile to track changes to the package.