Person structure

master
Bob Mottram 2019-08-07 20:40:12 +01:00
parent 35ec570558
commit 1245fdcdd1
1 changed files with 8 additions and 7 deletions

View File

@ -163,13 +163,14 @@ def createPersonBase(baseDir: str,nickname: str,domain: str,port: int, \
'outbox': httpPrefix+'://'+domain+'/users/'+nickname+'/outbox', 'outbox': httpPrefix+'://'+domain+'/users/'+nickname+'/outbox',
'preferredUsername': ''+nickname, 'preferredUsername': ''+nickname,
'summary': '', 'summary': '',
'publicKey': {'id': httpPrefix+'://'+domain+'/users/'+nickname+'#main-key', 'publicKey': {
'id': httpPrefix+'://'+domain+'/users/'+nickname+'#main-key',
'owner': httpPrefix+'://'+domain+'/users/'+nickname, 'owner': httpPrefix+'://'+domain+'/users/'+nickname,
'publicKeyPem': publicKeyPem, 'publicKeyPem': publicKeyPem
'summary': '', },
'tag': [], 'tag': [],
'type': 'Person', 'type': 'Person',
'url': httpPrefix+'://'+domain+'/@'+nickname} 'url': httpPrefix+'://'+domain+'/@'+nickname
} }
if saveToFile: if saveToFile: