Differences From
Artifact [b40be7a821]:
117 117 else tmppw[i] = tmppw[i] + 0x30 end
118 118 end
119 119 lib.dbg('assigning temporary password')
120 120 dlg:auth_attach_pw(uid, reset,
121 121 pstr { ptr = [rawstring](tmppw), ct = 32 },
122 - lib.str.plit 'temporary password');
122 + 'temporary password');
123 123 end
124 124
125 125 local terra ipc_report(acks: lib.mem.ptr(lib.ipc.ack), rep: rawstring)
126 126 var decbuf: int8[21]
127 127 for i=0,acks.ct do
................................................................................
381 381 return 1
382 382 end
383 383 if cfmode.arglist.ct == 1 then
384 384 var am = dlg:conf_get('credential-store')
385 385 var mg: bool
386 - if (not am) or am:cmp(lib.str.plit 'managed') then
386 + if (not am) or am:cmp('managed') then
387 387 mg = true
388 - elseif am:cmp(lib.str.plit 'unmanaged') then
388 + elseif am:cmp('unmanaged') then
389 389 lib.warn('credential store is unmanaged; you will need to create credentials for the new root user manually!')
390 390 mg = false
391 391 else lib.bail('unknown credential store mode "',{am.ptr,am.ct},'"; should be either "managed" or "unmanaged"') end
392 392 var kbuf: uint8[lib.crypt.const.maxdersz]
393 393 var root = lib.store.actor.mk(&kbuf[0])