when I use this code to encrypt gpg.txt
gpg -c --cipher-algo AES256 --digest-algo SHA512 "GPG.txt"
I used this code to see if it encrypt with AES256 and SHA512
gpg --list-packets GPG.txt.gpg
symkey enc packet: version 4, cipher 9, s2k 3, hash 2
gpg: AES256 encrypted data
I found Cipher=9 witch is AES256 as I ask, But Hash=2 witch SHA1 not 10=SHA512 as I ask!
Why that happen, any one know how to force gpg to use SHA512 instead of SHA1