rename pem
This commit is contained in:
parent
8960e73f49
commit
cfe7c577e8
3 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,5 @@
|
||||||
# fedi
|
# fedi
|
||||||
|
|
||||||
Activitypub library.
|
Activitypub library.
|
||||||
|
|
||||||
|
If you happen to find this, don't use this.
|
||||||
|
|
|
@ -43,7 +43,7 @@ makeActor details =
|
||||||
PublicKey
|
PublicKey
|
||||||
{ pkId = actorUrl <> "#main-key"
|
{ pkId = actorUrl <> "#main-key"
|
||||||
, pkOwner = actorUrl
|
, pkOwner = actorUrl
|
||||||
, pkPublicKeyPem = details.pem
|
, pkPublicKeyPem = details.publicPem
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -35,6 +35,7 @@ data UserDetails
|
||||||
, name :: String
|
, name :: String
|
||||||
, summary :: String
|
, summary :: String
|
||||||
, icon :: Url
|
, icon :: Url
|
||||||
, pem :: Pem
|
, publicPem :: Pem
|
||||||
|
, privatePem :: FilePath
|
||||||
}
|
}
|
||||||
deriving (Generic, A.FromJSON)
|
deriving (Generic, A.FromJSON)
|
||||||
|
|
Loading…
Add table
Reference in a new issue