From 00b2bddc7cbe5c809e4b8ec9e68d5e25b85aad08 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Mon, 2 Jun 2014 14:51:15 +0200 Subject: [PATCH] Clarify it's not base64, but base64url, encoding in Magicsig --- plugins/OStatus/classes/Magicsig.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/OStatus/classes/Magicsig.php b/plugins/OStatus/classes/Magicsig.php index 2b131a73db..0867d1ba6e 100644 --- a/plugins/OStatus/classes/Magicsig.php +++ b/plugins/OStatus/classes/Magicsig.php @@ -282,7 +282,7 @@ class Magicsig extends Managed_DataObject * using our private key. * * @param string $bytes as raw byte string - * @return string base64-encoded signature + * @return string base64url-encoded signature */ public function sign($bytes) { @@ -296,7 +296,7 @@ class Magicsig extends Managed_DataObject /** * * @param string $signed_bytes as raw byte string - * @param string $signature as base64 + * @param string $signature as base64url encoded * @return boolean */ public function verify($signed_bytes, $signature)