question archive I am tasked with zipping and encrypting a database table on a daily basis (without human intervention)
Subject:Computer SciencePrice: Bought3
I am tasked with zipping and encrypting a database table on a daily basis (without human intervention). I have completed most of the task (zipping, scheduling) in a batch file, via task scheduler but am having quite a time getting GnuPG to encrypt the file via the windows command line.
I have already generate the public/private key pair. Let call the public key "PUBLIC" and the private key "PRIVATE". The username is "Bob", the file "file"
Can a script be written that encrypts "file" when the batch file is run? Is a key required to encrypt the file (if so, how is the key stored?)