@dotrino/vaultd 0.182.0 → 0.182.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,4 +5,4 @@
5
5
  * si no coincide con la del paquete: una versión anunciada que no es la que corre es peor
6
6
  * que no anunciar ninguna.
7
7
  */
8
- export const LIB_VERSION = '0.109.0'
8
+ export const LIB_VERSION = '0.109.2'
package/lib/src/enroll.js CHANGED
@@ -414,7 +414,11 @@ export function createEnrollDesk ({
414
414
  // ejemplo— en vez de descubrirlo cuando ya lo aprobaron. Quien no la mira, no la necesita.
415
415
  let chain = null
416
416
  try { chain = (await identity.sealerChain?.()) || null } catch (e) { log('[vault] could not build the sealer chain for the challenge:', e.message) }
417
- await tell(from, { type: MSG_ENROLL_CHALLENGE, deviceId, chain }, pend.sn)
417
+ // Y CON QUÉ PERMISOS VA A ENTRAR (2026-10-27): la bóveda alojada de Seyacat entró con una
418
+ // invitación sin `sella` y quedó como un aparato más, sin poder ser bóveda. Dentro del reto
419
+ // firmado, el aparato que necesita uno concreto se niega ANTES de enseñar su código.
420
+ const caps = [...new Set(pend.caps || scopeToCaps(pend.scope))]
421
+ await tell(from, { type: MSG_ENROLL_CHALLENGE, deviceId, chain, caps }, pend.sn)
418
422
  fire(onChallenge, { deviceId, scope: pend.scope, label: pend.label || '', machine: pend.machine || null, mode: pend.mode || 'join' })
419
423
  fire(onPendingChange)
420
424
  return { deviceId }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dotrino/vaultd",
3
- "version": "0.182.0",
3
+ "version": "0.182.2",
4
4
  "type": "module",
5
5
  "description": "Certificador personal de Dotrino: daemon headless que custodia la clave maestra y delega capacidades a tus dispositivos por el proxy. Tu CA propia.",
6
6
  "bin": {
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "@dotrino/compat": "0.5.0",
25
- "@dotrino/identity": "0.130.4",
25
+ "@dotrino/identity": "0.130.6",
26
26
  "@dotrino/opaque": "0.1.0",
27
27
  "@dotrino/passmanager": "0.18.6",
28
28
  "@dotrino/proxy-client": "^0.45.0",