use aes256 for password encryption (#75)
This commit is contained in:
parent
39c2fa863e
commit
1f4d966115
3 changed files with 22 additions and 1 deletions
|
|
@ -114,7 +114,8 @@ func passwordEncrypt(message []byte, password []byte, isBinary bool) ([]byte, er
|
|||
var outBuf bytes.Buffer
|
||||
|
||||
config := &packet.Config{
|
||||
Time: getTimeGenerator(),
|
||||
DefaultCipher: packet.CipherAES256,
|
||||
Time: getTimeGenerator(),
|
||||
}
|
||||
|
||||
hints := &openpgp.FileHints{IsBinary: isBinary}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue