-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I would like to create a webpage on a Fedora Core 3 system running Apache, Perl and GnuPG. Here is what I see for an idea.
This page is going to be used for distributing encrypted passwords to employees in the IT department. It will only be accessible internally and not from the web. I would like for a user to go to the page and past their private key into a textarea box and their passphrase into a password box. This would be over an SSL connection. The private key and passphrase would be stored in a temp file and deleted after use.
Once they have clicked Next, I would like to have them taken to another page that allows them to select a password to decrypt (the passwords would be placed in a directory on the server and the script would read in each of those files. No hard coding needed) or to be able to paste an encrypted file in text form into another textarea box. That way it can be expanded to use more than just passwords if needed.
Once they have clicked Submit the encrypted file would be decrypted and the output displayed to the screen. After decryption, the private key and the passphrase would be removed from the system.
I would like to use Perl if it will work. Does anybody know of any programs that I can use a system call to or Perl modules that will allow me decrypt a file specified in the command as well as specify the private key to use in the command instead of having to import the private key into the keyring?
Any help, suggestions, or examples would be helpful. - --
Nathaniel Hall, GSEC Intrusion Detection and Firewall Technician Ozarks Technical Community College -- Office of Computer Networking
halln@xxxxxxx 417-447-7535 GPG Public Key ID: 0xAC187312 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (MingW32)
iD8DBQFCFhmZc+QrUawYcxIRAtmfAJsElG547oG5VnegsiSiPWqkJ2ujFQCZAfbA QfnaxQZT/KK6Q+/VNBj1B6s= =ZTGY -----END PGP SIGNATURE-----