mirror of https://gitlab.com/bashrc2/epicyon
Person structure
parent
35ec570558
commit
1245fdcdd1
15
person.py
15
person.py
|
@ -163,13 +163,14 @@ def createPersonBase(baseDir: str,nickname: str,domain: str,port: int, \
|
|||
'outbox': httpPrefix+'://'+domain+'/users/'+nickname+'/outbox',
|
||||
'preferredUsername': ''+nickname,
|
||||
'summary': '',
|
||||
'publicKey': {'id': httpPrefix+'://'+domain+'/users/'+nickname+'#main-key',
|
||||
'owner': httpPrefix+'://'+domain+'/users/'+nickname,
|
||||
'publicKeyPem': publicKeyPem,
|
||||
'summary': '',
|
||||
'tag': [],
|
||||
'type': 'Person',
|
||||
'url': httpPrefix+'://'+domain+'/@'+nickname}
|
||||
'publicKey': {
|
||||
'id': httpPrefix+'://'+domain+'/users/'+nickname+'#main-key',
|
||||
'owner': httpPrefix+'://'+domain+'/users/'+nickname,
|
||||
'publicKeyPem': publicKeyPem
|
||||
},
|
||||
'tag': [],
|
||||
'type': 'Person',
|
||||
'url': httpPrefix+'://'+domain+'/@'+nickname
|
||||
}
|
||||
|
||||
if saveToFile:
|
||||
|
|
Loading…
Reference in New Issue