*don't process if data is over 48 bytes

This commit is contained in:
Derrick Hammer 2022-12-30 05:08:41 -05:00
parent d416966760
commit 0df8050df8
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 3 additions and 0 deletions

View File

@ -103,6 +103,9 @@ const plugin: Plugin = {
if (!verifyEntry(newEntry)) {
return;
}
if (newEntry.data.length > 48) {
return;
}
let entry = (await getEntry(newEntry.pk)) as SignedRegistryEntry;
async function setAndRespond() {