kramphub / kiya

manage secrets for development and infrastructure deployment using Google Cloud Platform
Other
16 stars 9 forks source link

Fix input redirect put #6

Closed madarivi closed 6 years ago

madarivi commented 6 years ago

This pr should solve three issues:

  1. When using the put command with redirected input in the terminal the return used for kiya execution results in an extra newline in the secret value
  2. When using the put command the secret was always put into kiya, even when on conformation n was entered
  3. 4

4 was solved by not asking for conformation when reading redirected input