Skip to content

Commit

Permalink
Merge tag '0.8.2' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
nbari committed Mar 3, 2017
2 parents ff339f8 + c0ad641 commit 8cd4526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion view.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func (v *vault) View() ([]byte, error) {

v.Password, err = oaep.Decrypt(privateKey, ciphertext, []byte(""))
if err != nil {
return nil, fmt.Errorf("Decryption failed, use private key with fingerprint: %s", v.Fingerprint)
return nil, fmt.Errorf("Decryption failed, use private key with fingerprint: %s", header[2])
}

ciphertext, err = base64.StdEncoding.DecodeString(payload[1])
Expand Down

0 comments on commit 8cd4526

Please sign in to comment.