save
nearly ok with encrypting with passphrase