Hi
When I look at at PublickKey, I go to it signatures, then get the hashed and unhashed subpackets for the master key and any subkey and use the method getkeyflags() I get an Integer representing the flags, how do I match this to the list front he RFC 4880 0x01 - This key may be used to certify other keys. 0x02 - This key may be used to sign data. 0x04 - This key may be used to encrypt communications. 0x08 - This key may be used to encrypt storage. 0x10 - The private component of this key may have been split by a secret-sharing mechanism. 0x20 - This key may be used for authentication. 0x80 - The private component of this key may be in the possession of more than one person. In testing several keys I have seen that usage maps to the key flag as: SCEA = 0 SCA = 35 SCE = 15 SC = 3 what would be the best way to map usage with the integer value? Thanks, Carlos