This helps makes us conform to the spec in NOTES.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
# compatible with old secnet executables
def forsites(self,version,xcopy,fs):
if version < 2:
# compatible with old secnet executables
def forsites(self,version,xcopy,fs):
if version < 2:
+ if fs.pkg != '00000000': return []
return ['pubkey', str(self.l), self.e, self.n]
return pubkey.forsites(self,version,xcopy,fs)
return ['pubkey', str(self.l), self.e, self.n]
return pubkey.forsites(self,version,xcopy,fs)
break
if use is None:
use = k
break
if use is None:
use = k
+ elif isinstance(k,pubkey_group):
+ indefault = k.i == '00000000'
else:
raise RuntimeError('bad '+repr(k))
if use is None:
else:
raise RuntimeError('bad '+repr(k))
if use is None: