aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2021-02-04 22:16:48 +0100
committerMario Vavti <mario@mariovavti.com>2021-02-04 22:16:48 +0100
commit19007dd8ebc0d4364cff56c923f5ea8fad018b76 (patch)
tree78ce535e6ad536d474dd301d5c1f7f4a376b6659 /Zotlabs/Lib
parent03e1f5f8a41c88e8feea19784d7521435e7e4b2e (diff)
downloadvolse-hubzilla-19007dd8ebc0d4364cff56c923f5ea8fad018b76.tar.gz
volse-hubzilla-19007dd8ebc0d4364cff56c923f5ea8fad018b76.tar.bz2
volse-hubzilla-19007dd8ebc0d4364cff56c923f5ea8fad018b76.zip
move key conversion to separate lib
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/Activity.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php
index cedc9adc8..abb28fc64 100644
--- a/Zotlabs/Lib/Activity.php
+++ b/Zotlabs/Lib/Activity.php
@@ -1566,7 +1566,7 @@ class Activity {
if ($person_obj['id'] === $person_obj['publicKey']['owner']) {
$pubkey = $person_obj['publicKey']['publicKeyPem'];
if (strstr($pubkey, 'RSA ')) {
- $pubkey = rsatopem($pubkey);
+ $pubkey = Keyutils::rsaToPem($pubkey);
}
}
}