Repository navigation
Releases
Releases · developer-wortic/jsonw
jsonW 1.4.1: security fix for the permission view
English
- Security fix: the permission view now applies to every command that reads values. In 1.4.0 only
verand the web server applied it.filtrar,calcular,para-texto,escolher,avaliar,compararandinforead every column, so a+pessoalcolumn (for example a personal ID number) could be printed, matched by a condition or written to an output file. In 1.4.1, withoutWJSW_ESCOPOS,+pessoaland+escopo(x)columns come out null, and a condition, group or score on a hidden column fails withcoluna sem permissao. With a tenant view, thefiltrarheader no longer shows the total rows of other tenants. - Measured: the same test file on macOS arm64 fails 23 of 37 checks with 1.4.0 and 0 of 37 with 1.4.1. The full suite also passes with AddressSanitizer and UBSan on Linux.
- Owner operations stay outside the view:
regravar,cifrar,decifrar,de-texto,de-json,conferir,repararandmedircopy the whole file. Do not hand the raw.jswto someone who should see only part of it. - No format change. 1.4.1 reads every file written by 1.4.0, 1.3.x and 1.2.1. Upgrade if you use
+pessoalor+escopo(x)columns. - npm:
@wortictecnologia/jsonw@1.4.1.
Português
- Correção de segurança: a visão por permissão vale em todo comando que lê valores. Na 1.4.0, só o
vere o servidor web a aplicavam. Ofiltrar, ocalcular, opara-texto, oescolher, oavaliar, ocomparare oinfoliam todas as colunas, e uma coluna+pessoal(um CPF, por exemplo) podia ser mostrada, achada por uma condição ou gravada num arquivo de saída. Na 1.4.1, semWJSW_ESCOPOS, as colunas+pessoale+escopo(x)saem nulas, e uma condição, um grupo ou uma nota em coluna escondida dá o errocoluna sem permissao. Com visão de tenant, o cabeçalho dofiltrarnão mostra mais o total de linhas dos outros tenants. - Medido: o mesmo arquivo de teste no macOS arm64 falha em 23 das 37 checagens com a 1.4.0 e em 0 das 37 com a 1.4.1. A bateria inteira também passa com AddressSanitizer e UBSan no Linux.
- Operações do dono ficam fora da visão:
regravar,cifrar,decifrar,de-texto,de-json,conferir,repararemedircopiam o arquivo inteiro. Não entregue o.jswbruto a quem só deve ver parte dele. - O formato não mudou. A 1.4.1 lê todo arquivo gravado pela 1.4.0, pela 1.3.x e pela 1.2.1. Atualize se você usa colunas
+pessoalou+escopo(x). - npm:
@wortictecnologia/jsonw@1.4.1.
jsonW 1.4.0: encryption at rest, document masks and agent protocol profiles
English
- Encryption at rest. A
.jswfile can stay encrypted on disk (XChaCha20-Poly1305). The key stays outside the file (WJSW_CHAVE_ARQor--chave). Without encryption, 1.4.0 writes the file byte for byte equal to 1.3.14, and 1.3.14 and 1.2.1 read it. Older readers refuse an encrypted file instead of reading ciphertext as data. - Document masks that never break. CPF, CNPJ, IBAN, EU and UK VAT, E.164 phones and more (158 cases proven, also under ASan and UBSan).
- jsonW profiles for agent protocols. A2A, UCP, ACP, AP2, Verifiable Intent, x402, MPP, AG-UI and OpenTelemetry: 49 objects with a JSON round trip.
- Binaries for macOS arm64, Linux x86_64, Linux ARM64 and Windows x86_64; C SDK with ABI 1.4.0. Also includes everything from 1.3.14 (WebAssembly, opening from memory, Dart, Objective-C and COBOL SDKs).
- npm:
npm install @wortictecnologia/jsonw@1.4.0
Português
- Cifra em repouso: o arquivo
.jswpode ficar cifrado no disco, com a chave fora do arquivo. Sem cifra, sai byte a byte igual à 1.3.14. - Máscaras de documentos de vários países, que nunca quebram (158 casos provados).
- Perfis jsonW dos protocolos de agentes (49 objetos com ida e volta).
- Binários para macOS, Linux (x86_64 e ARM64) e Windows; SDK em C com ABI 1.4.0.