foundationdb/fdbclient
Junhyun Shim 3e79735b2f
Authz JWT support (#7279)
* 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
..
json_spirit Replace <boost/bind.hpp> with <boost/bind/bind.hpp>. 2021-11-18 14:00:13 -08:00
libb64 apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
md5 Removed TLS_DISABLED macro 2022-05-02 22:15:27 -07:00
rapidxml apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
sha1 apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
vexillographer client_tmp_dir needs a unique code in bindings. 2022-05-16 13:41:30 -05:00
ActorLineageProfiler.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
ActorLineageProfiler.h Update copyright header dates 2022-03-21 13:36:23 -07:00
AnnotateActor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
AnnotateActor.h Update copyright header dates 2022-03-21 13:36:23 -07:00
AsyncFileS3BlobStore.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
AsyncFileS3BlobStore.actor.h Update copyright header dates 2022-03-21 13:36:23 -07:00
AsyncTaskThread.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
AsyncTaskThread.h Update copyright header dates 2022-03-21 13:36:23 -07:00
Atomic.h Update copyright header dates 2022-03-21 13:36:23 -07:00
AutoPublicAddress.cpp coordinatorsKey should not always store IP addresses. (#7204) 2022-05-23 11:42:56 -07:00
BackupAgent.actor.h Merge remote-tracking branch 'origin/main' into features/private-request-streams 2022-04-07 13:29:27 -06:00
BackupAgentBase.actor.cpp Merge remote-tracking branch 'origin/main' into features/private-request-streams 2022-04-07 13:29:27 -06:00
BackupContainer.actor.cpp Add proxy option to backup and restore params. 2022-03-28 17:10:49 -07:00
BackupContainer.h Add proxy option to backup and restore params. 2022-03-28 17:10:49 -07:00
BackupContainerAzureBlobStore.actor.cpp Remove ENCRYPTION_ENABLED macro 2022-05-02 22:26:31 -07:00
BackupContainerAzureBlobStore.h Update copyright header dates 2022-03-21 13:36:23 -07:00
BackupContainerFileSystem.actor.cpp Remove ENCRYPTION_ENABLED macro 2022-05-02 22:26:31 -07:00
BackupContainerFileSystem.h Add proxy option to backup and restore params. 2022-03-28 17:10:49 -07:00
BackupContainerLocalDirectory.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
BackupContainerLocalDirectory.h Update copyright header dates 2022-03-21 13:36:23 -07:00
BackupContainerS3BlobStore.actor.cpp Remove !defined(_WIN32) guards for encryption code 2022-05-03 09:48:24 -07:00
BackupContainerS3BlobStore.h Update copyright header dates 2022-03-21 13:36:23 -07:00
BlobGranuleCommon.h review comments 2022-05-25 17:16:56 -05:00
BlobGranuleFiles.cpp review comments 2022-05-25 17:16:56 -05:00
BlobGranuleFiles.h Finished implementing beginVersion 2022-03-24 17:15:11 -05:00
BlobGranuleReader.actor.cpp Finished implementing beginVersion 2022-03-24 17:15:11 -05:00
BlobGranuleReader.actor.h Finished implementing beginVersion 2022-03-24 17:15:11 -05:00
BlobWorkerCommon.h misc bg operational fixes and improvements 2022-04-05 12:26:00 -05:00
BlobWorkerInterface.h Blob worker tenant integration mostly works 2022-05-25 17:16:56 -05:00
BuildFlags.h.in Fix macOS compilation issue 2021-01-19 11:21:21 -08:00
CMakeLists.txt Interface to enable clients to send/receive REST requests/responses (#6866) 2022-04-27 12:17:52 -07:00
ClientBooleanParams.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
ClientBooleanParams.h Update copyright header dates 2022-03-21 13:36:23 -07:00
ClientKnobCollection.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
ClientKnobCollection.h Update copyright header dates 2022-03-21 13:36:23 -07:00
ClientKnobs.cpp Fix compatibility issue of s3 backup 2022-05-25 09:48:54 -05:00
ClientKnobs.h Fix compatibility issue of s3 backup 2022-05-25 09:48:54 -05:00
ClientLogEvents.h Update copyright header dates 2022-03-21 13:36:23 -07:00
ClientVersion.h Update copyright header dates 2022-03-21 13:36:23 -07:00
ClientWorkerInterface.h Update copyright header dates 2022-03-21 13:36:23 -07:00
ClusterConnectionFile.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
ClusterConnectionFile.h Update copyright header dates 2022-03-21 13:36:23 -07:00
ClusterConnectionKey.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
ClusterConnectionKey.actor.h Update copyright header dates 2022-03-21 13:36:23 -07:00
ClusterConnectionMemoryRecord.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
ClusterConnectionMemoryRecord.h Update copyright header dates 2022-03-21 13:36:23 -07:00
ClusterInterface.h Update copyright header dates 2022-03-21 13:36:23 -07:00
CommitProxyInterface.h OpenTelemetry Tracing Perf Fixes (#6990) 2022-05-02 14:56:51 -05:00
CommitTransaction.h OpenTelemetry Tracing Perf Fixes (#6990) 2022-05-02 14:56:51 -05:00
ConfigKnobs.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
ConfigKnobs.h Update copyright header dates 2022-03-21 13:36:23 -07:00
ConfigTransactionInterface.cpp A few hostname improvements. (#6825) 2022-04-20 13:42:46 -07:00
ConfigTransactionInterface.h A few hostname improvements. (#6825) 2022-04-20 13:42:46 -07:00
ConvertUTF.h Move SimpleIni.h to fdbclient 2022-02-07 13:31:04 -08:00
CoordinationInterface.h coordinatorsKey should not always store IP addresses. (#7204) 2022-05-23 11:42:56 -07:00
DatabaseBackupAgent.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
DatabaseConfiguration.cpp Add sharded rocksdb type (#6862) 2022-04-21 22:53:14 -04:00
DatabaseConfiguration.h only add mutations can change configuration (#6760) 2022-04-05 17:05:51 -07:00
DatabaseContext.h Initialize GlobalConfig on Database clone 2022-05-27 10:25:29 -07:00
EventTypes.actor.h Update copyright header dates 2022-03-21 13:36:23 -07:00
FDBAWSCredentialsProvider.h Build AWS SDK as part of FDB, and use it to acquire blob credentials. This supports IAM role-based authentication, in addition to all existing credential types. 2022-03-24 10:09:06 -05:00
FDBOptions.h Update copyright header dates 2022-03-21 13:36:23 -07:00
FDBTypes.cpp Better accounting for tenant prefixes when working with key size limits (#6973) 2022-04-27 14:38:59 -07:00
FDBTypes.h Merge branch 'main' of https://github.com/apple/foundationdb into readaware 2022-05-18 10:11:18 -07:00
FileBackupAgent.actor.cpp Add proxy option to backup and restore params. 2022-03-28 17:10:49 -07:00
FluentDSampleIngestor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
GenericManagementAPI.actor.h Better accounting for tenant prefixes when working with key size limits (#6973) 2022-04-27 14:38:59 -07:00
GlobalConfig.actor.cpp Fix some spammy trace events (#7296) 2022-06-01 16:49:25 -07:00
GlobalConfig.actor.h Fix reference cycle in GlobalConfig 2022-05-27 10:25:29 -07:00
GlobalConfig.h Update copyright header dates 2022-03-21 13:36:23 -07:00
GrvProxyInterface.h Merge remote-tracking branch 'origin/main' into features/private-request-streams 2022-04-07 13:29:27 -06:00
HighContentionPrefixAllocator.actor.h Disallow anonymous thread futures in safeThreadFutureToFuture when those thread futures contain a standalone type. 2022-03-29 15:50:31 -07:00
IClientApi.h Extend the reboot interface to accept comma-delimited string; 2022-05-20 12:06:33 -07:00
IConfigTransaction.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
IConfigTransaction.h OpenTelemetry Tracing Perf Fixes (#6990) 2022-05-02 14:56:51 -05:00
IKnobCollection.cpp Removed unnecessary apostrophe 2022-05-23 13:41:48 -07:00
IKnobCollection.h Refactor duplicated code into IKnobCollection::setupKnobs() 2022-04-05 02:06:38 -07:00
ISingleThreadTransaction.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
ISingleThreadTransaction.h Optimization: support removing index conditionally (#7116) 2022-05-13 10:10:43 -07:00
JSONDoc.h Add knob value changes to fdbdecode 2022-03-24 09:26:41 -07:00
JsonBuilder.cpp Add missing copyright headers 2022-03-16 11:25:02 -07:00
JsonBuilder.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
KeyBackedTypes.h Update copyright header dates 2022-03-21 13:36:23 -07:00
KeyRangeMap.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
KeyRangeMap.h Update copyright header dates 2022-03-21 13:36:23 -07:00
Knobs.h Update copyright header dates 2022-03-21 13:36:23 -07:00
LocalClientAPI.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
LocalClientAPI.h Update copyright header dates 2022-03-21 13:36:23 -07:00
ManagementAPI.actor.cpp Merge branch 'main' of https://github.com/apple/foundationdb into readaware 2022-05-23 15:09:03 -07:00
ManagementAPI.actor.h Merge branch 'main' of https://github.com/apple/foundationdb into readaware 2022-05-23 15:09:03 -07:00
MonitorLeader.actor.cpp coordinatorsKey should not always store IP addresses. (#7204) 2022-05-23 11:42:56 -07:00
MonitorLeader.h Check in the new Hostname logic. (#6926) 2022-04-27 21:54:13 -07:00
MultiVersionAssignmentVars.h Update copyright header dates 2022-03-21 13:36:23 -07:00
MultiVersionTransaction.actor.cpp Optimization: support removing index conditionally (#7116) 2022-05-13 10:10:43 -07:00
MultiVersionTransaction.h Enable MATCHED and UNMATCHED mode for index prefetch (#7162) 2022-05-18 09:16:28 -07:00
MutationList.h Update copyright header dates 2022-03-21 13:36:23 -07:00
MutationLogReader.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
MutationLogReader.actor.h Update copyright header dates 2022-03-21 13:36:23 -07:00
NameLineage.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
NameLineage.h Update copyright header dates 2022-03-21 13:36:23 -07:00
NativeAPI.actor.cpp Add NAPI: prefix to VerifyCausalReadRisky span. (#7285) 2022-06-01 11:47:28 -05:00
NativeAPI.actor.h Optimization: support removing index conditionally (#7116) 2022-05-13 10:10:43 -07:00
Notified.h Merge branch 'main' into blob_integration 2022-03-22 11:41:58 -05:00
PImpl.h Update copyright header dates 2022-03-21 13:36:23 -07:00
ParallelStream.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
ParallelStream.actor.h Update copyright header dates 2022-03-21 13:36:23 -07:00
PaxosConfigTransaction.actor.cpp Fix a heap-use-after-free in PaxosConfigConsumer.actor.cpp (#7244) 2022-05-25 12:08:30 -07:00
PaxosConfigTransaction.h Optimization: support removing index conditionally (#7116) 2022-05-13 10:10:43 -07:00
ProcessInterface.h Update copyright header dates 2022-03-21 13:36:23 -07:00
RYWIterator.cpp Update RYWIterator test to match #6993 (#7046) 2022-05-02 18:22:59 -07:00
RYWIterator.h Update copyright header dates 2022-03-21 13:36:23 -07:00
ReadYourWrites.actor.cpp Optimization: support removing index conditionally (#7116) 2022-05-13 10:10:43 -07:00
ReadYourWrites.h Optimization: support removing index conditionally (#7116) 2022-05-13 10:10:43 -07:00
RestoreInterface.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
RestoreInterface.h Add proxy option to backup and restore params. 2022-03-28 17:10:49 -07:00
RunTransaction.actor.h Update copyright header dates 2022-03-21 13:36:23 -07:00
S3BlobStore.actor.cpp Fix compatibility issue of s3 backup 2022-05-25 09:48:54 -05:00
S3BlobStore.h Interface to enable clients to send/receive REST requests/responses (#6866) 2022-04-27 12:17:52 -07:00
Schemas.cpp merge upstream/main 2022-05-17 10:20:51 -07:00
Schemas.h Update copyright header dates 2022-03-21 13:36:23 -07:00
ServerKnobCollection.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
ServerKnobCollection.h Update copyright header dates 2022-03-21 13:36:23 -07:00
ServerKnobs.cpp fix: the peek_using_streaming can cause memory corruption (#7286) 2022-05-31 16:04:28 -07:00
ServerKnobs.h fix: the peek_using_streaming can cause memory corruption (#7286) 2022-05-31 16:04:28 -07:00
SimpleConfigTransaction.actor.cpp coordinatorsKey should not always store IP addresses. (#7204) 2022-05-23 11:42:56 -07:00
SimpleConfigTransaction.h Optimization: support removing index conditionally (#7116) 2022-05-13 10:10:43 -07:00
SimpleIni.h Move SimpleIni.h to fdbclient 2022-02-07 13:31:04 -08:00
SnapshotCache.h Update copyright header dates 2022-03-21 13:36:23 -07:00
SpecialKeySpace.actor.cpp Remove actor for client profiling get range 2022-05-27 10:25:29 -07:00
SpecialKeySpace.actor.h Remove unnecessary decl and includes 2022-05-09 14:54:51 -07:00
StackLineage.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
StackLineage.h Update copyright header dates 2022-03-21 13:36:23 -07:00
Status.h Update copyright header dates 2022-03-21 13:36:23 -07:00
StatusClient.actor.cpp Check in the new Hostname logic. (#6926) 2022-04-27 21:54:13 -07:00
StatusClient.h Update copyright header dates 2022-03-21 13:36:23 -07:00
StorageCheckpoint.h Fixed uninitialized member issue. 2022-03-18 09:12:59 -07:00
StorageServerInterface.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
StorageServerInterface.h merge upstream/main 2022-05-17 10:20:51 -07:00
Subspace.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
Subspace.h Update copyright header dates 2022-03-21 13:36:23 -07:00
SystemData.cpp remove size() method 2022-05-13 12:55:19 -07:00
SystemData.h add SkewReadWriteWorkload 2022-05-05 23:53:51 -07:00
TagThrottle.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
TagThrottle.actor.h Update copyright header dates 2022-03-21 13:36:23 -07:00
TaskBucket.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
TaskBucket.h Update copyright header dates 2022-03-21 13:36:23 -07:00
Tenant.cpp fixup! Fix the test failure in fdbclient/Tenants.cpp 2022-05-24 17:24:23 -07:00
Tenant.h Don't pass nullptr to memcpy (#7136) 2022-05-11 15:51:31 -07:00
TestKnobCollection.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
TestKnobCollection.h Update copyright header dates 2022-03-21 13:36:23 -07:00
ThreadSafeTransaction.cpp Close file at the end of runNetwork rather than in stopNetwork in order to avoid a race condition, 2022-05-31 13:59:09 +02:00
ThreadSafeTransaction.h Optimization: support removing index conditionally (#7116) 2022-05-13 10:10:43 -07:00
TransactionLineage.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
TransactionLineage.h OpenTelemetry Tracing Perf Fixes (#6990) 2022-05-02 14:56:51 -05:00
Tuple.cpp add appendRaw and subTupleRawString for Tuple 2022-05-06 18:01:43 -07:00
Tuple.h Fix comments 2022-05-06 18:01:43 -07:00
VersionVector.cpp - Encode version vector before sending it over the wire. 2022-04-11 21:03:09 +00:00
VersionVector.h - Encode version vector before sending it over the wire. 2022-04-11 21:03:09 +00:00
VersionedMap.actor.h Update copyright header dates 2022-03-21 13:36:23 -07:00
VersionedMap.cpp Add missing copyright headers 2022-03-16 11:25:02 -07:00
VersionedMap.h Update copyright header dates 2022-03-21 13:36:23 -07:00
WellKnownEndpoints.h Merge remote-tracking branch 'origin/main' into features/private-request-streams 2022-04-07 13:29:27 -06:00
WriteMap.h Fix operation_failed thrown incorrectly from transactions (#6993) 2022-05-02 13:49:42 -07:00
azurestorage.cmake First draft of Azure blob storage backup container 2020-10-24 16:47:51 -07:00
versions.h.cmake fdbserver now compiling 2018-12-13 14:13:47 -08:00
zipf.c apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
zipf.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00