1
0
mirror of https://github.com/apple/foundationdb.git synced 2025-05-23 07:20:33 +08:00

5 Commits

Author SHA1 Message Date
Junhyun Shim
3e79735b2f
Authz JWT support ()
* Add JWT support to TokenSign

* Encapsulate OpenSSL public/private key type

Type-safe passing around of keys without having to DER/PEM-serialize
(OpenSSL doesn't have distinct types for public and private key)

* Apply Clang format

* Add verify benchmark for JWT and FlatBuffers token

* Unit test base64url::{encode, decode}

* Make all payload fields optional

Let user code validate non-signature fields

* Make all payload fields optional

Completely defer field check to user code

* Move rapidjson from fdbclient to contrib

* Make fdbrpc's rapidjson linkage private

Currently only sources include them.

* Modify rapidjson path in apiversioner.py

* Algorithm::Unknown > Algorithm::UNKNOWN
2022-06-02 13:22:50 +02:00
Jingyu Zhou
ccb092a2c8 Fix file name 2021-05-10 09:01:24 -07:00
Jingyu Zhou
d07f527a98 Fix raw_input 2021-05-08 16:32:03 -07:00
Jingyu Zhou
98665f9bae Convert apiversioner.py to Python 3 2021-05-08 16:31:53 -07:00
Jingyu Zhou
fe7419262d Add tool for upgrading API versions 2021-05-08 16:31:43 -07:00