work on validating incoming fed requests

This commit is contained in:
tsmethurst 2021-04-26 21:18:39 +02:00
commit 2ed1e36ee0
9 changed files with 336 additions and 15 deletions

View file

@ -115,6 +115,8 @@ type Account struct {
PrivateKey *rsa.PrivateKey
// Publickey for encoding activitypub requests, will be defined for both local and remote accounts
PublicKey *rsa.PublicKey
// Web-reachable location of this account's public key
PublicKeyURI string
/*
ADMIN FIELDS