Previously to macOS 10.12, keychain items had an empty IV and no authenticated data. Now they have a static IV.
For more information see published source code of securityd:
Security-57740.51.3/OSX/sec/securityd/SecDbKeychainItem.c
It might be useful to detect whether an IV and authenticated data must be processed or not. The reported meta information of a macOS 10.12 keychain is:
[+] Keybag Header
[-] versions : 4
[-] type : System Keybag
Previously to macOS 10.12, keychain items had an empty IV and no authenticated data. Now they have a static IV.
For more information see published source code of securityd: Security-57740.51.3/OSX/sec/securityd/SecDbKeychainItem.c
It might be useful to detect whether an IV and authenticated data must be processed or not. The reported meta information of a macOS 10.12 keychain is: