Showing 56 of 60 total issues
Avoid too many return
statements within this function. Open
Open
return this.result(null, verified ? 'pass' : 'fail')
Avoid too many return
statements within this function. Open
Open
return this.result('unknown query method', 'invalid')
Avoid too many return
statements within this function. Open
Open
return this.result('inappropriate hash algorithm', 'invalid')
Avoid too many return
statements within this function. Open
Open
return this.result('inapplicable key', 'invalid')
Avoid too many return
statements within this function. Open
Open
return this.result(
'i/d selector domain mismatch (t=s)',
'invalid',
)
Avoid too many return
statements within this function. Open
Open
if (!this.dns_fields.p) return this.result('key revoked', 'invalid')
Avoid too many return
statements within this function. Open
Open
return this.result('inapplicable key', 'invalid')
Avoid too many return
statements within this function. Open
Open
return this.result(`signature expired`, 'invalid')
Avoid too many return
statements within this function. Open
Open
if (!this.fields.bh) return this.result('body hash missing', 'invalid')
Avoid too many return
statements within this function. Open
Open
return this.result('from field not signed', 'invalid')
Avoid too many return
statements within this function. Open
Open
return this.result('verification error', 'invalid')
Avoid too many return
statements within this function. Open
Open
if (!addrs || !addrs.length) return domain
Avoid too many return
statements within this function. Open
Open
return this.result('invalid algorithm', 'invalid')
Avoid too many return
statements within this function. Open
Open
return fromHost
Avoid too many return
statements within this function. Open
Open
return this.result('inappropriate key type', 'invalid')
Avoid too many return
statements within this function. Open
Open
if (!this.fields.b) return this.result('signature missing', 'invalid')