res['status']=f'''{OPERATOR_INTRO}I have successfully registered Komrade {name}.
res['status']=f'''{OPERATOR_INTRO}I have successfully registered Komrade {name}.
Ifyou're interested, here'swhatIdid.Istoredthepublickeyyougaveme,{cvb64},underthenameof"{name}".However,Ineversavethatnamedirectly,butrecorditonlyinadisguised,"hashed"form:{ck}.Iscrambled"{name}"byrunningitthrougha1-wayhashingfunction,whichwillalwaysyieldthesameresult:providedyouknowwhichfunctionI'm using, and what the secret "salt" is that I add to all the input, a string of text which I keep protected and encrypted on my local hard drive.
Ifyou're interested, here'swhatIdid.Istoredthepublickeyyougaveme,{cvb64},underthenameof"{name}".However,Ineversavethatnamedirectly,butrecorditonlyinadisguised,"hashed"form:{ck}.Iscrambled"{name}"byrunningitthrougha1-wayhashingfunction,whichwillalwaysyieldthesameresult:providedyouknowwhichfunctionI'm using, and what the secret "salt" is that I add to all the input, a string of text which I keep protected and encrypted on my local hard drive.
@ -131,7 +131,7 @@ cv = {cv}
Ifyou'd like to change this default behavior, e.g. by instead allowing anyone to request your public key, except for those whom you explcitly block, I have also created a super secret administrative record for you to change various settings on your account. This is protected by a separate encryption key which I have generated for you; and this key which is itself encrypted with the password you entered earlier. Don'tworry:Ineversawthatpasswordyoutyped,sinceitwasgiventomealreadyhashedanddisguised(assomething{len(passphrase)}characterslong,endingin"{passphrase[:10]}").Withoutthathashedpassphrase,noonewillbeabletounlocktheadministrationkey;andwithouttheadministrationkey,theywon't be able to find the hashed record I stored your user settings under, since I also salted that hash with your own hashed passphrase. Even if someone found the record I stored them under, they wouldn'tbeabletodecrypttheexistingsettings;andiftheycan't do that, I won'tletthemoverwritetherecord.'''
Ifyou'd like to change this default behavior, e.g. by instead allowing anyone to request your public key, except for those whom you explcitly block, I have also created a super secret administrative record for you to change various settings on your account. This is protected by a separate encryption key which I have generated for you; and this key which is itself encrypted with the password you entered earlier. Don'tworry:Ineversawthatpasswordyoutyped,sinceitwasgiventomealreadyhashedanddisguised(assomething{len(passphrase)}characterslong,endingin"{passphrase[:10]}").Withoutthathashedpassphrase,noonewillbeabletounlocktheadministrationkey;andwithouttheadministrationkey,theywon't be able to find the hashed record I stored your user settings under, since I also salted that hash with your own hashed passphrase. Even if someone found the record I stored them under, they wouldn'tbeabletodecrypttheexistingsettings;andiftheycan't do that, I won'tletthemoverwritetherecord.'''
else:
else:
res['status']=f'''
res['status']=f'''
{OPERATOR_INTRO}.I'm sorry, but I can'tregisterthenameof{name}.
{OPERATOR_INTRO}I'm sorry, but I can'tregisterthenameof{name}.