aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-03-18 08:35:09 +0000
committerMario <mario@mariovavti.com>2021-03-18 09:37:55 +0100
commiteb3a40b07ade552960637e831e7288da722f4c7f (patch)
treed7f1ce1f8c51270fb8c3049a19fe264976cf84a4
parent8d3c5114ba87a6bb90bd7d4755709dd1f009c266 (diff)
downloadvolse-hubzilla-eb3a40b07ade552960637e831e7288da722f4c7f.tar.gz
volse-hubzilla-eb3a40b07ade552960637e831e7288da722f4c7f.tar.bz2
volse-hubzilla-eb3a40b07ade552960637e831e7288da722f4c7f.zip
use lib/keyutils rsatopem()
(cherry picked from commit f0cce1c902d705a7c6c15e23333b36a0c0ab4bf9)
-rw-r--r--Zotlabs/Web/HTTPSig.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Web/HTTPSig.php b/Zotlabs/Web/HTTPSig.php
index 2535c9016..35b18c763 100644
--- a/Zotlabs/Web/HTTPSig.php
+++ b/Zotlabs/Web/HTTPSig.php
@@ -250,7 +250,7 @@ class HTTPSig {
static function convertKey($key) {
if(strstr($key,'RSA ')) {
- return rsatopem($key);
+ return Keyutils::rsaToPem($key);
}
elseif(substr($key,0,5) === 'data:') {
return Keyutils::convertSalmonKey($key);