Release Name: 0.1
Notes:
The directory inside the gzipped tar is setup as a RubyOnRails plugin and adds a module called PPK to the namespace. To use it this way, place the directory inside your RoR project's 'vendor/plugins' directory. Otherwise, find 'ppk.rb' inside of 'openssl_ppk_wrapper/lib'.
This tooling requires the 'openssl' CLI tool to be available on the PATH. Some testing has been done with both Linux and Cygwin (in a Windows environment) openssl installations.
Exposes:
[privKey, pubKey] = PPK.get_key_pair(privPassword)
b64EncodedCryptodata = PPK.encrypt(data, pubKey)
data = PPK.decrypt(b64Cryptodata, privKey, privPassword)
privKey = PPK.change_private_key_password(oldPass, privKey, newPass)
Note: I roughed in the private submodule 'CLI' before I discovered the 'open3' lib that exposes 'Open3.popen3()'. This project could probably be cleaned up by rewriting it to use the 'open3' infrastructure.
Changes:
|