return ', '.join(
algo for algo in subpacket['preferred-compression-algorithms'])
+ def _str_key_server_preferences_signature_subpacket(self, subpacket):
+ return ', '.join(
+ x for x in sorted(subpacket['key-server-preferences']))
+
def _str_key_flags_signature_subpacket(self, subpacket):
return ', '.join(x for x in sorted(subpacket['key-flags']))
subpacket['preferred-compression-algorithms'] = [
self._compression_algorithms[d] for d in data]
+ def _parse_key_server_preferences_signature_subpacket(
+ self, data, subpacket):
+ subpacket['key-server-preferences'] = set()
+ if data[0] & 0x80:
+ subpacket['key-server-preferences'].add('no-modify')
+
def _parse_key_flags_signature_subpacket(self, data, subpacket):
subpacket['key-flags'] = set()
if data[0] & 0x1: