visionappscz / gpg-ftp-deployment

[☠️☠️☠️ NOT MAINTAINED ☠️☠️☠️] A wrapper script for ftp-deployment tool.
Other
1 stars 0 forks source link

Original ini file is removed when encrypt fails #1

Closed adamkudrna closed 10 years ago

adamkudrna commented 10 years ago

Steps to reproduce:

  1. create a file named deployment.environment.ini
  2. run $ path/to/deploy.sh environment encrypt
  3. the scripts asks if you trust to listed authorities
  4. hit enter (or 'n', not 'y')
  5. the file deployment.environment.ini is removed with following message:
gpg: deployment.test.ini: encryption failed: Unusable public key
SUCCESS! The file was encrypted for: …

… and you can start over.