Hi , There are a few problems with this extension , although it will still work if i enable it, but will crash every time someone comments and posts
it's say "The key needed for push notifications could not be generated. The full error message is: Unable to create the key"
Logs :
flarum.ERROR: ErrorException: [VAPID] Public key should be 65 bytes long when decoded. in /app/vendor/minishlink/web-push/src/VAPID.php:71
Stack trace:
#0 /app/vendor/minishlink/web-push/src/WebPush.php(88): Minishlink\WebPush\VAPID::validate()
#1 /app/vendor/askvortsov/flarum-pwa/src/PushNotificationDriver.php(123): Minishlink\WebPush\WebPush->__construct()
#2 /app/vendor/flarum/core/src/Notification/NotificationSyncer.php(110): Askvortsov\FlarumPWA\PushNotificationDriver->send()
#3 /app/vendor/flarum/mentions/src/Listener/UpdateMentionsMetadataWhenVisible.php(66): Flarum\Notification\NotificationSyncer->sync()
#4 /app/vendor/flarum/mentions/src/Listener/UpdateMentionsMetadataWhenVisible.php(46): Flarum\Mentions\Listener\UpdateMentionsMetadataWhenVisible->syncUserMentions()
#5 /app/vendor/illuminate/events/Dispatcher.php(412): Flarum\Mentions\Listener\UpdateMentionsMetadataWhenVisible->handle()
#6 /app/vendor/illuminate/events/Dispatcher.php(237): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}()
#7 /app/vendor/flarum/core/src/Foundation/DispatchEventsTrait.php(33): Illuminate\Events\Dispatcher->dispatch()
#8 /app/vendor/flarum/core/src/Post/Command/PostReplyHandler.php(104): Flarum\Post\Command\PostReplyHandler->dispatchEventsFor()
#9 /app/vendor/flarum/core/src/Notification/NotificationSyncer.php(148): Flarum\Post\Command\PostReplyHandler->Flarum\Post\Command\{closure}()
#10 /app/vendor/flarum/core/src/Post/Command/PostReplyHandler.php(105): Flarum\Notification\NotificationSyncer->onePerUser()
#11 /app/vendor/illuminate/bus/Dispatcher.php(122): Flarum\Post\Command\PostReplyHandler->handle()
#12 /app/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}()
#13 /app/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#14 /app/vendor/illuminate/bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then()
#15 /app/vendor/illuminate/bus/Dispatcher.php(78): Illuminate\Bus\Dispatcher->dispatchNow()
#16 /app/vendor/flarum/core/src/Api/Controller/CreatePostController.php(62): Illuminate\Bus\Dispatcher->dispatch()
#17 /app/vendor/flarum/core/src/Api/Controller/AbstractSerializeController.php(110): Flarum\Api\Controller\CreatePostController->data()
#18 /app/vendor/flarum/core/src/Api/Controller/AbstractCreateController.php(22): Flarum\Api\Controller\AbstractSerializeController->handle()
#19 /app/vendor/flarum/core/src/Http/RouteHandlerFactory.php(41): Flarum\Api\Controller\AbstractCreateController->handle()
#20 /app/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http\{closure}()
#21 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ExecuteRoute->process()
#22 /app/vendor/malago/flarum-achievements/src/Middlewares/MiddlewarePosted.php(27): Laminas\Stratigility\Next->handle()
#23 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Malago\Achievements\Middlewares\MiddlewarePosted->process()
#24 /app/vendor/flarum/core/src/Api/Middleware/ThrottleApi.php(33): Laminas\Stratigility\Next->handle()
#25 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Api\Middleware\ThrottleApi->process()
#26 /app/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php(44): Laminas\Stratigility\Next->handle()
#27 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\CheckCsrfToken->process()
#28 /app/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(67): Laminas\Stratigility\Next->handle()#29 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ResolveRoute->process()
#30 /app/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Laminas\Stratigility\Next->handle()
#31 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\SetLocale->process()
#32 /app/vendor/flarum/core/src/Http/Middleware/AuthenticateWithHeader.php(56): Laminas\Stratigility\Next->handle()
#33 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\AuthenticateWithHeader->process()
#34 /app/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(31): Laminas\Stratigility\Next->handle()
#35 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\AuthenticateWithSession->process()
#36 /app/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Laminas\Stratigility\Next->handle()
#37 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\RememberFromCookie->process()
#38 /app/vendor/flarum/core/src/Http/Middleware/StartSession.php(61): Laminas\Stratigility\Next->handle()#39 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\StartSession->process()
#40 /app/vendor/flarum/core/src/Api/Middleware/FakeHttpMethods.php(29): Laminas\Stratigility\Next->handle()
#41 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Api\Middleware\FakeHttpMethods->process()
#42 /app/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(28): Laminas\Stratigility\Next->handle()
#43 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ParseJsonBody->process()
#44 /app/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle()#45 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\HandleErrors->process()
#46 /app/vendor/flarum/core/src/Http/Middleware/InjectActorReference.php(25): Laminas\Stratigility\Next->handle()
#47 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\InjectActorReference->process()
#48 /app/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(76): Laminas\Stratigility\Next->handle()
#49 /app/vendor/middlewares/request-handler/src/RequestHandler.php(84): Laminas\Stratigility\MiddlewarePipe->process()
#50 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Middlewares\RequestHandler->process()
#51 /app/vendor/middlewares/base-path-router/src/BasePathRouter.php(101): Laminas\Stratigility\Next->handle()
#52 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Middlewares\BasePathRouter->process()
#53 /app/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php(36): Laminas\Stratigility\Next->handle()
#54 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Laminas\Stratigility\Middleware\OriginalMessages->process()
#55 /app/vendor/middlewares/base-path/src/BasePath.php(73): Laminas\Stratigility\Next->handle()
#56 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Middlewares\BasePath->process()
#57 /app/vendor/flarum/core/src/Http/Middleware/ProcessIp.php(24): Laminas\Stratigility\Next->handle()
#58 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ProcessIp->process()
#59 /app/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(76): Laminas\Stratigility\Next->handle()
#60 /app/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(65): Laminas\Stratigility\MiddlewarePipe->process()
#61 /app/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(96): Laminas\Stratigility\MiddlewarePipe->handle()
#62 /app/vendor/flarum/core/src/Http/Server.php(44): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
#63 /app/public/index.php(22): Flarum\Http\Server->listen()
#64 {main}
PHP Forum info :
Flarum core 1.0.4
PHP version: 8.0.8
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, Reflection, SPL, session, standard, sodium, mysqlnd, PDO, xml, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, iconv, exif, mysqli, pdo_mysql, Phar, posix, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, Zend OPcache
+-------------------------------------+--------------+--------+
| Flarum Extensions | | |
+-------------------------------------+--------------+--------+
| ID | Version | Commit |
+-------------------------------------+--------------+--------+
| flarum-flags | v1.0.0 | |
| flarum-approval | v1.0.0 | |
| flarum-tags | v1.0.3 | |
| flarum-suspend | v1.0.0 | |
| flarum-markdown | v1.0.1 | |
| flarum-nicknames | v1.0.0 | |
| fof-oauth | 1.0.1 | |
| flarum-likes | v1.0.0 | |
| askvortsov-auto-moderator | v0.1.1 | |
| fof-spamblock | 1.0.0 | |
| fof-upload | 1.0.1 | |
| fof-disposable-emails | 1.0.0 | |
| fof-byobu | 1.0.0-beta.7 | |
| clarkwinkelmann-group-list | 1.0.0 | |
| askvortsov-checklist | v1.3.1 | |
| fof-user-directory | 1.0.2 | |
| fof-reactions | 1.0.0 | |
| clarkwinkelmann-author-change | 1.0.1 | |
| askvortsov-discussion-templates | v0.8.0 | |
| fof-default-user-preferences | 1.0.0 | |
| askvortsov-categories | v3.0.0 | |
| nomiscz-auth-steam | v1.0.1 | |
| flarum-subscriptions | v1.0.0 | |
| therealsujitk-gifs | v4.0.0 | |
| askvortsov-help-tags | v1.1.0 | |
| fof-username-request | 1.0.0 | |
| malago-achievements | 0.4.1 | |
| fof-bbcode-details | 1.0.0 | |
| fof-drafts | 1.0.1 | |
| fof-best-answer | 1.0.1 | |
| fof-terms | 1.0.0 | |
| fof-pretty-mail | 1.0.1 | |
| fof-polls | 1.0.3 | |
| fof-ban-ips | 1.0.0 | |
| clarkwinkelmann-emojionearea | 1.0.0 | |
| flarum-lock | v1.0.0 | |
| antoinefr-money | v1.0.0 | |
| sycho-profile-cover | v1.3.0 | |
| fof-share-social | 1.0.0 | |
| fof-nightmode | 1.0.0 | |
| flarum-bbcode | v1.0.0 | |
| flarum-emoji | v1.0.0 | |
| flarum-mentions | v1.0.0 | |
| flarum-statistics | v1.0.0 | |
| flarum-sticky | v1.0.0 | |
| migratetoflarum-canonical | 1.0.0 | |
| v17development-seo | v1.8.0 | |
| fof-user-bio | 1.0.0 | |
| fof-ignore-users | 1.0.0 | |
| fof-socialprofile | 1.0.0 | |
| fof-profile-image-crop | 1.0.0 | |
| fof-links | 1.0.0 | |
| fof-pages | 1.0.1 | |
| fof-recaptcha | 1.0.0 | |
| fof-formatting | 1.0.0 | |
| jslirola-login2seeplus | v0.2 | |
| fof-prevent-necrobumping | 1.0.0 | |
| askvortsov-rich-text | v2.0.3 | |
| flarum-embed | v1.0.0 | |
| fof-split | 1.0.0 | |
| ianm-html-head | 1.0.0 | |
| fof-merge-discussions | 1.0.0 | |
| sycho-advanced-extension-categories | v0.1.3 | |
| clarkwinkelmann-first-post-approval | 1.0.0 | |
| flarum-pusher | v1.0.0 | |
| ianm-synopsis | 1.0.0 | |
| nearata-no-self-likes | v1.2.0 | |
| fof-webhooks | 1.0.2 | |
| askvortsov-moderator-warnings | v0.6.0 | |
| the-turk-mathren | 0.3.7 | |
| v17development-user-badges | v0.2.1 | |
| flarum-lang-english | v1.0.0 | |
| yannisme-confixtheme | 2.0.2 | |
| fof-stopforumspam | 1.0.0 | |
| fof-linguist | 1.0.0 | |
+-------------------------------------+--------------+--------+