parsav  Diff

Differences From Artifact [eca94a58d5]:

To Artifact [b8bbc4e0ec]:


   163    163   	var newkp = lib.crypt.genkp()
   164    164   	var privsz = lib.crypt.der(false,&newkp,kbuf)
   165    165   	return m.actor {
   166    166   		id = 0; nym = nil; handle = nil;
   167    167   		origin = 0; bio = nil; avatar = nil;
   168    168   		knownsince = lib.osclock.time(nil);
   169    169   		rights = m.rights_default();
          170  +		avatarid = 0;
   170    171   		epithet = nil, key = [lib.mem.ptr(uint8)] {
   171    172   			ptr = &kbuf[0], ct = privsz
   172    173   		};
   173    174   	}
   174    175   end
   175    176   
   176    177   struct m.actor_stats {
................................................................................
   407    408   	actor_notice_enum: {&m.source, uint64} -> lib.mem.ptr(m.notice)
   408    409   	actor_rel_create: {&m.source, uint16, uint64, uint64} -> {}
   409    410   	actor_rel_destroy: {&m.source, uint16, uint64, uint64} -> {}
   410    411   	actor_rel_calc: {&m.source, uint64, uint64} -> m.relationship
   411    412   
   412    413   	auth_enum_uid:    {&m.source, uint64}    -> lib.mem.lstptr(m.auth)
   413    414   	auth_enum_handle: {&m.source, rawstring} -> lib.mem.lstptr(m.auth)
   414         -	auth_attach_pw: {&m.source, uint64, bool, pstr, pstr} -> {}
          415  +	auth_attach_pw:  {&m.source, uint64, bool, pstr, pstr} -> {}
          416  +	auth_attach_key: {&m.source, uint64, bool, pstr, pstr} -> {}
   415    417   		-- uid: uint64
   416    418   		-- reset: bool (delete other passwords?)
   417    419   		-- pw: pstring
   418    420   		-- comment: pstring
   419    421   	auth_purge_pw: {&m.source, uint64, rawstring} -> {}
   420    422   	auth_purge_otp: {&m.source, uint64, rawstring} -> {}
   421    423   	auth_purge_trust: {&m.source, uint64, rawstring} -> {}