activitypub: switch to using x509 representation for public keys instead of pkcs#1
This commit is contained in:
parent
d386e8a825
commit
8546551257
2 changed files with 2 additions and 2 deletions
|
|
@ -13,6 +13,6 @@ defmodule Pleroma.Web.ActivityPub.UserViewTest do
|
|||
assert result["id"] == user.ap_id
|
||||
assert result["preferredUsername"] == user.nickname
|
||||
|
||||
assert String.contains?(result["publicKey"]["publicKeyPem"], "BEGIN RSA PUBLIC KEY")
|
||||
assert String.contains?(result["publicKey"]["publicKeyPem"], "BEGIN PUBLIC KEY")
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue