summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Change arity for open_dbaegis_key_cacheEric Avdey2020-04-246-44/+30
|
* Pass encryption/decryption errors back to chttpdEric Avdey2020-04-242-2/+26
|
* Use protected ets with UUID only to check key availabilityEric Avdey2020-04-231-10/+5
| | | | | Keep named protected ets table with UUIDs only in sync with cache for availability check to save gen_server's round-trip
* Simplify aegis designEric Avdey2020-04-238-574/+256
| | | | | | | | | | | - Rename create and open method to init_db and open_db across all the modules - Remove all functionality from aegis_key_manager. Make it just a behaviour definition module - Make ?AEGIS_KEY_MANAGER handle fdb operations - Remove all machinery from aegis_server, just make it own ets cache - Make do_encode and do_decode functions private Co-authored-by: Robert Newson <rnewson@apache.org>
* Fix aegis_server multidb test, allow waiters to properly accumulateEric Avdey2020-04-211-11/+24
|
* Switch to db UUID for cache's keyEric Avdey2020-04-212-27/+28
|
* Remove example key manager, add noop key manager, make it defaultEric Avdey2020-04-213-68/+49
|
* Change key manager response on disabled encryption to `false`.Eric Avdey2020-04-214-8/+6
|
* Make example key manager use pbkdf2 to derive root keyaegis_example_key_managerEric Avdey2020-04-211-2/+10
|
* Convert aegis_key_manager into gen serverEric Avdey2020-04-214-14/+186
| | | | | | | | Convert aegis_key_manager into gen_server and make it keep private state for key manager callback module. Rename aegis_file_key_manager into aegis_example_key_manager to clarify intent and adapt it to new aegis_key_manager behaviour
* Store unwrappers Ref as a control for DbKey legitimacyEric Avdey2020-04-201-11/+13
|
* Support disabling encryption per database on key manager levelEric Avdey2020-04-204-2/+64
| | | | | | | Allow key manager to return `{ok false}` on generate key request. Treat this as a flag to perf db disabled encryption and passthrough encrypt and decrypt without calling server in this case.
* Pass db options to generate_key and rename WrappedKey to AegisConfigEric Avdey2020-04-205-70/+87
|
* Change rebar deps build order to allow aegis find fabric2.hrl header fileEric Avdey2020-04-201-1/+1
|
* Address review commentsEric Avdey2020-04-208-182/+196
| | | | | | | | | | - Rename aegis_key_cache to aegis_server - Move crypto into workers - Add aegis_server public API - Define aegis_key_manager behaviour - Fix error messages - Remove part with incomplete functionality - Remove defensive programming
* Refactoring: extract maybe_spawn_unwrapper into own functionEric Avdey2020-04-171-11/+17
|
* Rename clients to openersEric Avdey2020-04-171-16/+16
|
* Rename unwrap_key to maybe_rewrap_key to clarify fun proposeEric Avdey2020-04-172-2/+2
|
* Make encrypt/decrypt workers to reply client directlyEric Avdey2020-04-171-22/+14
|
* Formatting: move private functions into own sectionEric Avdey2020-04-171-55/+54
|
* Extract aegis_keywrap parts in shim of key managerEric Avdey2020-04-173-19/+74
|
* Return error if can't unwrap a keyEric Avdey2020-04-172-5/+54
|
* Fail tests on gen_server timeoutEric Avdey2020-04-171-5/+6
|
* Make fabric depend on aegisEric Avdey2020-04-171-1/+2
|
* Make aegis into app and add key cache serverEric Avdey2020-04-177-22/+482
|
* Move rebar.config.script from couch to aegisEric Avdey2020-04-162-10/+36
|
* Fix typo in configureEric Avdey2020-04-161-1/+1
|
* Add encryption for database valuesaegisRobert Newson2020-04-1412-38/+305
|
* remove defer and load_ddocs from mango_utilsGarren Smith2020-04-062-63/+0
| | | | Clean up unused mango_utils functions.
* update mango tests to work with Mango on FDBGarren Smith2020-04-0614-136/+129
|
* Update mango test creds to same as elixir testsGarren Smith2020-04-063-5/+5
|
* Update Mango query to work with couch_viewsGarren Smith2020-04-069-147/+139
|
* Add mango indexingGarren Smith2020-04-067-19/+187
| | | | | | This uses couch_views_updater to create mango indexes in the doc update along with the couch_views_indexer to update the indexes in the background up to the creation versionstamp.
* Remove quorum statsGarren Smith2020-04-063-13/+1
| | | | Removing quorum stats since they are not relevant with FDB.
* Remove view_cb predicate push downGarren Smith2020-04-061-94/+1
| | | | | Removes the view callback that was performed on the nodes before sending the results back to the co-ordinator.
* remove unneeded r/w parameterGarren Smith2020-04-066-67/+6
|
* remove partition opts from mangoGarren Smith2020-04-0610-200/+10
|
* remove mango native procGarren Smith2020-04-063-375/+0
|
* Add couch_views_encoding max valueGarren Smith2020-04-061-0/+12
| | | | | Adds a max value to use for encoding. This is useful when getting the max range when encoding startkey/endkeys.
* Add couch_views_updater interactive indexerGarren Smith2020-04-069-5/+470
| | | | | | This adds the ability for couch_views to index an index in the docs update transaction. This only happens if a design doc has the field <<"interactive">> = true.
* All couch_view queries to run across transactionsGarren Smith2020-04-061-1/+2
|
* Add couch_views_indexer build to creation versionstampGarren Smith2020-04-067-33/+206
| | | | | | This creates a versionstamp for when an indexed was created and build status for indexes. if the index has a creation_vs, then couch_views_indexer will built the index to this creation versionstamp.
* add fabric2 after_doc_write pluginGarren Smith2020-04-062-0/+8
|
* add include_docs option to fold_docsGarren Smith2020-04-061-2/+25
|
* move all_doc view options to fabric2_utilGarren Smith2020-04-062-29/+39
|
* fix all_docs call to return rowGarren Smith2020-04-061-1/+2
|
* Merge pull request #2662 from cloudant/couch_view-rate_limitiilyak2020-04-0226-28/+1839
|\ | | | | Use `couch_rate` application for `couch_view`
| * Use `couch_rate` application for `couch_view`ILYA Khlopotov2020-04-0226-28/+1839
|/
* Merge pull request #2743 from apache/switch-erlfdb-couchRobert Newson2020-04-011-6/+2
|\ | | | | Switch erlfdb to the couchdb repo at tag v1.0.0
| * Switch erlfdb to the couchdb repo at tag v1.0.0Robert Newson2020-04-011-6/+2
|/