Plugin Directory

Changeset 2898875


Ignore:
Timestamp:
04/13/2023 08:12:15 PM (3 years ago)
Author:
psqr
Message:

v 0.1.5 trunk modifications

Location:
virtual-public-square/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • virtual-public-square/trunk/lib/composer/InstalledVersions.php

    r2723039 r2898875  
    3333    array (
    3434    ),
    35     'reference' => '418c9dbfd056f57e9180aee31e8ed1493aead3b5',
     35    'reference' => '05df8ae520e9a0f5b8fd68114612b545e240018b',
    3636    'name' => 'psqr/virtual-public-square',
    3737  ),
     
    5454      array (
    5555      ),
    56       'reference' => '418c9dbfd056f57e9180aee31e8ed1493aead3b5',
     56      'reference' => '05df8ae520e9a0f5b8fd68114612b545e240018b',
     57    ),
     58    'psr/http-client' =>
     59    array (
     60      'pretty_version' => '1.0.2',
     61      'version' => '1.0.2.0',
     62      'aliases' =>
     63      array (
     64      ),
     65      'reference' => '0955afe48220520692d2d09f7ab7e0f93ffd6a31',
     66    ),
     67    'psr/http-factory' =>
     68    array (
     69      'pretty_version' => '1.0.2',
     70      'version' => '1.0.2.0',
     71      'aliases' =>
     72      array (
     73      ),
     74      'reference' => 'e616d01114759c4c489f93b099585439f795fe35',
     75    ),
     76    'psr/http-message' =>
     77    array (
     78      'pretty_version' => '2.0',
     79      'version' => '2.0.0.0',
     80      'aliases' =>
     81      array (
     82      ),
     83      'reference' => '402d35bcb92c70c026d1a6a9883f06b2ead23d71',
    5784    ),
    5885    'spomky-labs/base64url' =>
     
    73100      ),
    74101      'reference' => '0909efa4fe2c3e2d537922b3ea1b65eb8203686c',
     102    ),
     103    'web-token/jwt-key-mgmt' =>
     104    array (
     105      'pretty_version' => 'v2.2.0',
     106      'version' => '2.2.0.0',
     107      'aliases' =>
     108      array (
     109      ),
     110      'reference' => '03fafa105970f0e5a7ae44c39bc8f0576ebcb23b',
    75111    ),
    76112    'web-token/jwt-signature' =>
  • virtual-public-square/trunk/lib/composer/autoload_psr4.php

    r2723039 r2898875  
    77
    88return array(
     9    'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src', $vendorDir . '/psr/http-factory/src'),
     10    'Psr\\Http\\Client\\' => array($vendorDir . '/psr/http-client/src'),
    911    'Jose\\Component\\Signature\\Algorithm\\' => array($vendorDir . '/web-token/jwt-signature-algorithm-ecdsa'),
    1012    'Jose\\Component\\Signature\\' => array($vendorDir . '/web-token/jwt-signature'),
     13    'Jose\\Component\\KeyManagement\\' => array($vendorDir . '/web-token/jwt-key-mgmt'),
    1114    'Jose\\Component\\Core\\' => array($vendorDir . '/web-token/jwt-core'),
    1215    'Jose\\' => array($baseDir . '/src'),
  • virtual-public-square/trunk/lib/composer/autoload_static.php

    r2723039 r2898875  
    88{
    99    public static $prefixLengthsPsr4 = array (
     10        'P' =>
     11        array (
     12            'Psr\\Http\\Message\\' => 17,
     13            'Psr\\Http\\Client\\' => 16,
     14        ),
    1015        'J' =>
    1116        array (
    1217            'Jose\\Component\\Signature\\Algorithm\\' => 35,
    1318            'Jose\\Component\\Signature\\' => 25,
     19            'Jose\\Component\\KeyManagement\\' => 29,
    1420            'Jose\\Component\\Core\\' => 20,
    1521            'Jose\\' => 5,
     
    2632
    2733    public static $prefixDirsPsr4 = array (
     34        'Psr\\Http\\Message\\' =>
     35        array (
     36            0 => __DIR__ . '/..' . '/psr/http-message/src',
     37            1 => __DIR__ . '/..' . '/psr/http-factory/src',
     38        ),
     39        'Psr\\Http\\Client\\' =>
     40        array (
     41            0 => __DIR__ . '/..' . '/psr/http-client/src',
     42        ),
    2843        'Jose\\Component\\Signature\\Algorithm\\' =>
    2944        array (
     
    3348        array (
    3449            0 => __DIR__ . '/..' . '/web-token/jwt-signature',
     50        ),
     51        'Jose\\Component\\KeyManagement\\' =>
     52        array (
     53            0 => __DIR__ . '/..' . '/web-token/jwt-key-mgmt',
    3554        ),
    3655        'Jose\\Component\\Core\\' =>
  • virtual-public-square/trunk/lib/composer/installed.json

    r2723039 r2898875  
    7878            },
    7979            "install-path": "../fgrosse/phpasn1"
     80        },
     81        {
     82            "name": "psr/http-client",
     83            "version": "1.0.2",
     84            "version_normalized": "1.0.2.0",
     85            "source": {
     86                "type": "git",
     87                "url": "https://github.com/php-fig/http-client.git",
     88                "reference": "0955afe48220520692d2d09f7ab7e0f93ffd6a31"
     89            },
     90            "dist": {
     91                "type": "zip",
     92                "url": "https://api.github.com/repos/php-fig/http-client/zipball/0955afe48220520692d2d09f7ab7e0f93ffd6a31",
     93                "reference": "0955afe48220520692d2d09f7ab7e0f93ffd6a31",
     94                "shasum": ""
     95            },
     96            "require": {
     97                "php": "^7.0 || ^8.0",
     98                "psr/http-message": "^1.0 || ^2.0"
     99            },
     100            "time": "2023-04-10T20:12:12+00:00",
     101            "type": "library",
     102            "extra": {
     103                "branch-alias": {
     104                    "dev-master": "1.0.x-dev"
     105                }
     106            },
     107            "installation-source": "dist",
     108            "autoload": {
     109                "psr-4": {
     110                    "Psr\\Http\\Client\\": "src/"
     111                }
     112            },
     113            "notification-url": "https://packagist.org/downloads/",
     114            "license": [
     115                "MIT"
     116            ],
     117            "authors": [
     118                {
     119                    "name": "PHP-FIG",
     120                    "homepage": "https://www.php-fig.org/"
     121                }
     122            ],
     123            "description": "Common interface for HTTP clients",
     124            "homepage": "https://github.com/php-fig/http-client",
     125            "keywords": [
     126                "http",
     127                "http-client",
     128                "psr",
     129                "psr-18"
     130            ],
     131            "support": {
     132                "source": "https://github.com/php-fig/http-client/tree/1.0.2"
     133            },
     134            "install-path": "../psr/http-client"
     135        },
     136        {
     137            "name": "psr/http-factory",
     138            "version": "1.0.2",
     139            "version_normalized": "1.0.2.0",
     140            "source": {
     141                "type": "git",
     142                "url": "https://github.com/php-fig/http-factory.git",
     143                "reference": "e616d01114759c4c489f93b099585439f795fe35"
     144            },
     145            "dist": {
     146                "type": "zip",
     147                "url": "https://api.github.com/repos/php-fig/http-factory/zipball/e616d01114759c4c489f93b099585439f795fe35",
     148                "reference": "e616d01114759c4c489f93b099585439f795fe35",
     149                "shasum": ""
     150            },
     151            "require": {
     152                "php": ">=7.0.0",
     153                "psr/http-message": "^1.0 || ^2.0"
     154            },
     155            "time": "2023-04-10T20:10:41+00:00",
     156            "type": "library",
     157            "extra": {
     158                "branch-alias": {
     159                    "dev-master": "1.0.x-dev"
     160                }
     161            },
     162            "installation-source": "dist",
     163            "autoload": {
     164                "psr-4": {
     165                    "Psr\\Http\\Message\\": "src/"
     166                }
     167            },
     168            "notification-url": "https://packagist.org/downloads/",
     169            "license": [
     170                "MIT"
     171            ],
     172            "authors": [
     173                {
     174                    "name": "PHP-FIG",
     175                    "homepage": "https://www.php-fig.org/"
     176                }
     177            ],
     178            "description": "Common interfaces for PSR-7 HTTP message factories",
     179            "keywords": [
     180                "factory",
     181                "http",
     182                "message",
     183                "psr",
     184                "psr-17",
     185                "psr-7",
     186                "request",
     187                "response"
     188            ],
     189            "support": {
     190                "source": "https://github.com/php-fig/http-factory/tree/1.0.2"
     191            },
     192            "install-path": "../psr/http-factory"
     193        },
     194        {
     195            "name": "psr/http-message",
     196            "version": "2.0",
     197            "version_normalized": "2.0.0.0",
     198            "source": {
     199                "type": "git",
     200                "url": "https://github.com/php-fig/http-message.git",
     201                "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71"
     202            },
     203            "dist": {
     204                "type": "zip",
     205                "url": "https://api.github.com/repos/php-fig/http-message/zipball/402d35bcb92c70c026d1a6a9883f06b2ead23d71",
     206                "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71",
     207                "shasum": ""
     208            },
     209            "require": {
     210                "php": "^7.2 || ^8.0"
     211            },
     212            "time": "2023-04-04T09:54:51+00:00",
     213            "type": "library",
     214            "extra": {
     215                "branch-alias": {
     216                    "dev-master": "2.0.x-dev"
     217                }
     218            },
     219            "installation-source": "dist",
     220            "autoload": {
     221                "psr-4": {
     222                    "Psr\\Http\\Message\\": "src/"
     223                }
     224            },
     225            "notification-url": "https://packagist.org/downloads/",
     226            "license": [
     227                "MIT"
     228            ],
     229            "authors": [
     230                {
     231                    "name": "PHP-FIG",
     232                    "homepage": "https://www.php-fig.org/"
     233                }
     234            ],
     235            "description": "Common interface for HTTP messages",
     236            "homepage": "https://github.com/php-fig/http-message",
     237            "keywords": [
     238                "http",
     239                "http-message",
     240                "psr",
     241                "psr-7",
     242                "request",
     243                "response"
     244            ],
     245            "support": {
     246                "source": "https://github.com/php-fig/http-message/tree/2.0"
     247            },
     248            "install-path": "../psr/http-message"
    80249        },
    81250        {
     
    239408        },
    240409        {
    241             "name": "web-token/jwt-signature",
     410            "name": "web-token/jwt-key-mgmt",
    242411            "version": "v2.2.0",
    243412            "version_normalized": "2.2.0.0",
    244413            "source": {
    245414                "type": "git",
    246                 "url": "https://github.com/web-token/jwt-signature.git",
    247                 "reference": "f4d83f77031c9d27edebbea053931074030d3b09"
    248             },
    249             "dist": {
    250                 "type": "zip",
    251                 "url": "https://api.github.com/repos/web-token/jwt-signature/zipball/f4d83f77031c9d27edebbea053931074030d3b09",
    252                 "reference": "f4d83f77031c9d27edebbea053931074030d3b09",
    253                 "shasum": ""
    254             },
    255             "require": {
    256                 "web-token/jwt-core": "^2.1"
     415                "url": "https://github.com/web-token/jwt-key-mgmt.git",
     416                "reference": "03fafa105970f0e5a7ae44c39bc8f0576ebcb23b"
     417            },
     418            "dist": {
     419                "type": "zip",
     420                "url": "https://api.github.com/repos/web-token/jwt-key-mgmt/zipball/03fafa105970f0e5a7ae44c39bc8f0576ebcb23b",
     421                "reference": "03fafa105970f0e5a7ae44c39bc8f0576ebcb23b",
     422                "shasum": ""
     423            },
     424            "require": {
     425                "ext-openssl": "*",
     426                "psr/http-client": "^1.0",
     427                "psr/http-factory": "^1.0",
     428                "web-token/jwt-core": "^2.0"
    257429            },
    258430            "require-dev": {
     431                "php-http/httplug": "^1.1",
     432                "php-http/message-factory": "^1.0",
     433                "php-http/mock-client": "^1.0",
    259434                "phpunit/phpunit": "^8.0"
    260435            },
    261436            "suggest": {
    262                 "web-token/jwt-signature-algorithm-ecdsa": "ECDSA Based Signature Algorithms",
    263                 "web-token/jwt-signature-algorithm-eddsa": "EdDSA Based Signature Algorithms",
    264                 "web-token/jwt-signature-algorithm-experimental": "Experimental Signature Algorithms",
    265                 "web-token/jwt-signature-algorithm-hmac": "HMAC Based Signature Algorithms",
    266                 "web-token/jwt-signature-algorithm-none": "None Signature Algorithm",
    267                 "web-token/jwt-signature-algorithm-rsa": "RSA Based Signature Algorithms"
    268             },
    269             "time": "2020-08-01T11:48:26+00:00",
     437                "ext-sodium": "Sodium is required for OKP key creation, EdDSA signature algorithm and ECDH-ES key encryption with OKP keys",
     438                "php-http/httplug": "To enable JKU/X5U support.",
     439                "php-http/message-factory": "To enable JKU/X5U support.",
     440                "web-token/jwt-util-ecc": "To use EC key analyzers."
     441            },
     442            "time": "2020-08-01T11:57:29+00:00",
    270443            "type": "library",
    271444            "extra": {
     
    282455            "autoload": {
    283456                "psr-4": {
    284                     "Jose\\Component\\Signature\\": ""
     457                    "Jose\\Component\\KeyManagement\\": ""
    285458                }
    286459            },
     
    296469                {
    297470                    "name": "All contributors",
    298                     "homepage": "https://github.com/web-token/jwt-signature/contributors"
    299                 }
    300             ],
    301             "description": "Signature component of the JWT Framework.",
     471                    "homepage": "https://github.com/web-token/jwt-key-mgmt/contributors"
     472                }
     473            ],
     474            "description": "Key Management component of the JWT Framework.",
    302475            "homepage": "https://github.com/web-token",
    303476            "keywords": [
     
    320493            ],
    321494            "support": {
    322                 "source": "https://github.com/web-token/jwt-signature/tree/v2.2.0"
     495                "source": "https://github.com/web-token/jwt-key-mgmt/tree/v2.2.0"
    323496            },
    324497            "funding": [
     
    328501                }
    329502            ],
    330             "install-path": "../web-token/jwt-signature"
    331         },
    332         {
    333             "name": "web-token/jwt-signature-algorithm-ecdsa",
     503            "install-path": "../web-token/jwt-key-mgmt"
     504        },
     505        {
     506            "name": "web-token/jwt-signature",
    334507            "version": "v2.2.0",
    335508            "version_normalized": "2.2.0.0",
    336509            "source": {
    337510                "type": "git",
    338                 "url": "https://github.com/web-token/jwt-signature-algorithm-ecdsa.git",
    339                 "reference": "3ae6e56ccf34e8b7b65ec988497d5d1bceca9864"
    340             },
    341             "dist": {
    342                 "type": "zip",
    343                 "url": "https://api.github.com/repos/web-token/jwt-signature-algorithm-ecdsa/zipball/3ae6e56ccf34e8b7b65ec988497d5d1bceca9864",
    344                 "reference": "3ae6e56ccf34e8b7b65ec988497d5d1bceca9864",
    345                 "shasum": ""
    346             },
    347             "require": {
    348                 "ext-openssl": "*",
    349                 "web-token/jwt-signature": "^2.0"
     511                "url": "https://github.com/web-token/jwt-signature.git",
     512                "reference": "f4d83f77031c9d27edebbea053931074030d3b09"
     513            },
     514            "dist": {
     515                "type": "zip",
     516                "url": "https://api.github.com/repos/web-token/jwt-signature/zipball/f4d83f77031c9d27edebbea053931074030d3b09",
     517                "reference": "f4d83f77031c9d27edebbea053931074030d3b09",
     518                "shasum": ""
     519            },
     520            "require": {
     521                "web-token/jwt-core": "^2.1"
    350522            },
    351523            "require-dev": {
    352524                "phpunit/phpunit": "^8.0"
    353525            },
    354             "time": "2020-08-22T13:17:25+00:00",
     526            "suggest": {
     527                "web-token/jwt-signature-algorithm-ecdsa": "ECDSA Based Signature Algorithms",
     528                "web-token/jwt-signature-algorithm-eddsa": "EdDSA Based Signature Algorithms",
     529                "web-token/jwt-signature-algorithm-experimental": "Experimental Signature Algorithms",
     530                "web-token/jwt-signature-algorithm-hmac": "HMAC Based Signature Algorithms",
     531                "web-token/jwt-signature-algorithm-none": "None Signature Algorithm",
     532                "web-token/jwt-signature-algorithm-rsa": "RSA Based Signature Algorithms"
     533            },
     534            "time": "2020-08-01T11:48:26+00:00",
    355535            "type": "library",
    356536            "extra": {
     
    367547            "autoload": {
    368548                "psr-4": {
    369                     "Jose\\Component\\Signature\\Algorithm\\": ""
     549                    "Jose\\Component\\Signature\\": ""
    370550                }
    371551            },
     
    381561                {
    382562                    "name": "All contributors",
    383                     "homepage": "https://github.com/web-token/jwt-framework/contributors"
    384                 }
    385             ],
    386             "description": "ECDSA Based Signature Algorithms the JWT Framework.",
     563                    "homepage": "https://github.com/web-token/jwt-signature/contributors"
     564                }
     565            ],
     566            "description": "Signature component of the JWT Framework.",
    387567            "homepage": "https://github.com/web-token",
    388568            "keywords": [
     
    405585            ],
    406586            "support": {
     587                "source": "https://github.com/web-token/jwt-signature/tree/v2.2.0"
     588            },
     589            "funding": [
     590                {
     591                    "url": "https://www.patreon.com/FlorentMorselli",
     592                    "type": "patreon"
     593                }
     594            ],
     595            "install-path": "../web-token/jwt-signature"
     596        },
     597        {
     598            "name": "web-token/jwt-signature-algorithm-ecdsa",
     599            "version": "v2.2.0",
     600            "version_normalized": "2.2.0.0",
     601            "source": {
     602                "type": "git",
     603                "url": "https://github.com/web-token/jwt-signature-algorithm-ecdsa.git",
     604                "reference": "3ae6e56ccf34e8b7b65ec988497d5d1bceca9864"
     605            },
     606            "dist": {
     607                "type": "zip",
     608                "url": "https://api.github.com/repos/web-token/jwt-signature-algorithm-ecdsa/zipball/3ae6e56ccf34e8b7b65ec988497d5d1bceca9864",
     609                "reference": "3ae6e56ccf34e8b7b65ec988497d5d1bceca9864",
     610                "shasum": ""
     611            },
     612            "require": {
     613                "ext-openssl": "*",
     614                "web-token/jwt-signature": "^2.0"
     615            },
     616            "require-dev": {
     617                "phpunit/phpunit": "^8.0"
     618            },
     619            "time": "2020-08-22T13:17:25+00:00",
     620            "type": "library",
     621            "extra": {
     622                "branch-alias": {
     623                    "v1.0": "1.0.x-dev",
     624                    "v1.1": "1.1.x-dev",
     625                    "v1.2": "1.2.x-dev",
     626                    "v1.3": "1.3.x-dev",
     627                    "v2.0": "2.0.x-dev",
     628                    "v2.1": "2.1.x-dev"
     629                }
     630            },
     631            "installation-source": "dist",
     632            "autoload": {
     633                "psr-4": {
     634                    "Jose\\Component\\Signature\\Algorithm\\": ""
     635                }
     636            },
     637            "notification-url": "https://packagist.org/downloads/",
     638            "license": [
     639                "MIT"
     640            ],
     641            "authors": [
     642                {
     643                    "name": "Florent Morselli",
     644                    "homepage": "https://github.com/Spomky"
     645                },
     646                {
     647                    "name": "All contributors",
     648                    "homepage": "https://github.com/web-token/jwt-framework/contributors"
     649                }
     650            ],
     651            "description": "ECDSA Based Signature Algorithms the JWT Framework.",
     652            "homepage": "https://github.com/web-token",
     653            "keywords": [
     654                "JOSE",
     655                "JWE",
     656                "JWK",
     657                "JWKSet",
     658                "JWS",
     659                "Jot",
     660                "RFC7515",
     661                "RFC7516",
     662                "RFC7517",
     663                "RFC7518",
     664                "RFC7519",
     665                "RFC7520",
     666                "bundle",
     667                "jwa",
     668                "jwt",
     669                "symfony"
     670            ],
     671            "support": {
    407672                "source": "https://github.com/web-token/jwt-signature-algorithm-ecdsa/tree/v2.2"
    408673            },
  • virtual-public-square/trunk/lib/composer/installed.php

    r2723039 r2898875  
    77    array (
    88    ),
    9     'reference' => '418c9dbfd056f57e9180aee31e8ed1493aead3b5',
     9    'reference' => '05df8ae520e9a0f5b8fd68114612b545e240018b',
    1010    'name' => 'psqr/virtual-public-square',
    1111  ),
     
    2828      array (
    2929      ),
    30       'reference' => '418c9dbfd056f57e9180aee31e8ed1493aead3b5',
     30      'reference' => '05df8ae520e9a0f5b8fd68114612b545e240018b',
     31    ),
     32    'psr/http-client' =>
     33    array (
     34      'pretty_version' => '1.0.2',
     35      'version' => '1.0.2.0',
     36      'aliases' =>
     37      array (
     38      ),
     39      'reference' => '0955afe48220520692d2d09f7ab7e0f93ffd6a31',
     40    ),
     41    'psr/http-factory' =>
     42    array (
     43      'pretty_version' => '1.0.2',
     44      'version' => '1.0.2.0',
     45      'aliases' =>
     46      array (
     47      ),
     48      'reference' => 'e616d01114759c4c489f93b099585439f795fe35',
     49    ),
     50    'psr/http-message' =>
     51    array (
     52      'pretty_version' => '2.0',
     53      'version' => '2.0.0.0',
     54      'aliases' =>
     55      array (
     56      ),
     57      'reference' => '402d35bcb92c70c026d1a6a9883f06b2ead23d71',
    3158    ),
    3259    'spomky-labs/base64url' =>
     
    4774      ),
    4875      'reference' => '0909efa4fe2c3e2d537922b3ea1b65eb8203686c',
     76    ),
     77    'web-token/jwt-key-mgmt' =>
     78    array (
     79      'pretty_version' => 'v2.2.0',
     80      'version' => '2.2.0.0',
     81      'aliases' =>
     82      array (
     83      ),
     84      'reference' => '03fafa105970f0e5a7ae44c39bc8f0576ebcb23b',
    4985    ),
    5086    'web-token/jwt-signature' =>
  • virtual-public-square/trunk/psqr.php

    r2790867 r2898875  
    77Plugin URI: https://vpsqr.com/
    88Description: Virtual Public Squares operate on identity. Add self-hosted, cryptographically verifiable, decentralized identity to your site and authors.
    9 Version: 0.1.4
     9Version: 0.1.5
    1010Author: Virtual Public Square
    1111Author URI: https://vpsqr.com
     
    3232use Jose\Component\Signature\Serializer\JWSSerializerManager;
    3333use Jose\Component\Signature\JWSBuilder;
     34use Jose\Component\KeyManagement\JWKFactory;
    3435
    3536if ( ! function_exists('write_log')) {
  • virtual-public-square/trunk/readme.txt

    r2790867 r2898875  
    55Tested up to: 6.0.2
    66Requires PHP: 7.4
    7 Stable tag: 0.1.4
     7Stable tag: 0.1.5
    88License: GPLv2
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    8282== Changelog ==
    8383
     84= 0.1.5 =
     85* Added JWK Factory to enable key creation
     86
    8487= 0.1.4 =
    8588* Added the ability to store and retrieve private keys
Note: See TracChangeset for help on using the changeset viewer.