signature class field is represented differently between gpg versions

This commit is contained in:
jake 2024-11-11 13:43:52 -05:00
parent b49c2b3da3
commit d1e174113f

View file

@ -387,10 +387,10 @@ sub add ($c) {
}
if ($need_sig and $record eq 'sig' and (
$signatureclass eq '[selfsig]'
or $signatureclass eq 'x13'
or $signatureclass eq 'x12'
or $signatureclass eq 'x11'
or $signatureclass eq 'x10'))
or $signatureclass eq '13x'
or $signatureclass eq '12x'
or $signatureclass eq '11x'
or $signatureclass eq '10x'))
{
$need_sig = 0;
$these_uids[-1] .= "$magic_delimiter$create:$expire:$flag";