Fixed a bug when deleting an archive

Also changed encryption from gpg symmetric to aes256 via openssl.