Halo: Add new NDEF flag (#476)

This commit is contained in:
Michał Leszczyński
2025-09-01 16:51:34 +02:00
committed by GitHub
parent c3ac9d3b5b
commit 70319f3c1a
3 changed files with 10 additions and 2 deletions

View File

@@ -24,7 +24,8 @@ const FLAGS: FlagLookup = {
flagLegacyStatic: [1, 0x08],
flagShowPkN: [1, 0x10],
flagShowPkNAttest: [1, 0x20],
flagRNDSIGUseBJJ62: [1, 0x40]
flagRNDSIGUseBJJ62: [1, 0x40],
flagFallbackDomain: [1, 0x80],
};
export {FLAGS};

View File

@@ -57,7 +57,8 @@
flagLegacyStatic: ["Use legacy public key format with the 'static' field."],
flagShowPkN: ["Show additional public key (requires public key #3 to be hidden)."],
flagShowPkNAttest: ["Show additional public key's attest signature."],
flagRNDSIGUseBJJ62: ["Use BJJ key slot 0x62 for 'rndsig' signature (only on selected tag batches)."]
flagRNDSIGUseBJJ62: ["Use BJJ key slot 0x62 for 'rndsig' signature (only on selected tag batches)."],
flagFallbackDomain: ["Force to use fallback domain on the NDEF layer."]
};
for (let flag of Object.keys(FLAGS)) {