Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change arity for open_dbaegis_key_cache | Eric Avdey | 2020-04-24 | 6 | -44/+30 |
| | |||||
* | Pass encryption/decryption errors back to chttpd | Eric Avdey | 2020-04-24 | 2 | -2/+26 |
| | |||||
* | Use protected ets with UUID only to check key availability | Eric Avdey | 2020-04-23 | 1 | -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 design | Eric Avdey | 2020-04-23 | 8 | -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 accumulate | Eric Avdey | 2020-04-21 | 1 | -11/+24 |
| | |||||
* | Switch to db UUID for cache's key | Eric Avdey | 2020-04-21 | 2 | -27/+28 |
| | |||||
* | Remove example key manager, add noop key manager, make it default | Eric Avdey | 2020-04-21 | 3 | -68/+49 |
| | |||||
* | Change key manager response on disabled encryption to `false`. | Eric Avdey | 2020-04-21 | 4 | -8/+6 |
| | |||||
* | Make example key manager use pbkdf2 to derive root keyaegis_example_key_manager | Eric Avdey | 2020-04-21 | 1 | -2/+10 |
| | |||||
* | Convert aegis_key_manager into gen server | Eric Avdey | 2020-04-21 | 4 | -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 legitimacy | Eric Avdey | 2020-04-20 | 1 | -11/+13 |
| | |||||
* | Support disabling encryption per database on key manager level | Eric Avdey | 2020-04-20 | 4 | -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 AegisConfig | Eric Avdey | 2020-04-20 | 5 | -70/+87 |
| | |||||
* | Change rebar deps build order to allow aegis find fabric2.hrl header file | Eric Avdey | 2020-04-20 | 1 | -1/+1 |
| | |||||
* | Address review comments | Eric Avdey | 2020-04-20 | 8 | -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 function | Eric Avdey | 2020-04-17 | 1 | -11/+17 |
| | |||||
* | Rename clients to openers | Eric Avdey | 2020-04-17 | 1 | -16/+16 |
| | |||||
* | Rename unwrap_key to maybe_rewrap_key to clarify fun propose | Eric Avdey | 2020-04-17 | 2 | -2/+2 |
| | |||||
* | Make encrypt/decrypt workers to reply client directly | Eric Avdey | 2020-04-17 | 1 | -22/+14 |
| | |||||
* | Formatting: move private functions into own section | Eric Avdey | 2020-04-17 | 1 | -55/+54 |
| | |||||
* | Extract aegis_keywrap parts in shim of key manager | Eric Avdey | 2020-04-17 | 3 | -19/+74 |
| | |||||
* | Return error if can't unwrap a key | Eric Avdey | 2020-04-17 | 2 | -5/+54 |
| | |||||
* | Fail tests on gen_server timeout | Eric Avdey | 2020-04-17 | 1 | -5/+6 |
| | |||||
* | Make fabric depend on aegis | Eric Avdey | 2020-04-17 | 1 | -1/+2 |
| | |||||
* | Make aegis into app and add key cache server | Eric Avdey | 2020-04-17 | 7 | -22/+482 |
| | |||||
* | Move rebar.config.script from couch to aegis | Eric Avdey | 2020-04-16 | 2 | -10/+36 |
| | |||||
* | Fix typo in configure | Eric Avdey | 2020-04-16 | 1 | -1/+1 |
| | |||||
* | Add encryption for database valuesaegis | Robert Newson | 2020-04-14 | 12 | -38/+305 |
| | |||||
* | remove defer and load_ddocs from mango_utils | Garren Smith | 2020-04-06 | 2 | -63/+0 |
| | | | | Clean up unused mango_utils functions. | ||||
* | update mango tests to work with Mango on FDB | Garren Smith | 2020-04-06 | 14 | -136/+129 |
| | |||||
* | Update mango test creds to same as elixir tests | Garren Smith | 2020-04-06 | 3 | -5/+5 |
| | |||||
* | Update Mango query to work with couch_views | Garren Smith | 2020-04-06 | 9 | -147/+139 |
| | |||||
* | Add mango indexing | Garren Smith | 2020-04-06 | 7 | -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 stats | Garren Smith | 2020-04-06 | 3 | -13/+1 |
| | | | | Removing quorum stats since they are not relevant with FDB. | ||||
* | Remove view_cb predicate push down | Garren Smith | 2020-04-06 | 1 | -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 parameter | Garren Smith | 2020-04-06 | 6 | -67/+6 |
| | |||||
* | remove partition opts from mango | Garren Smith | 2020-04-06 | 10 | -200/+10 |
| | |||||
* | remove mango native proc | Garren Smith | 2020-04-06 | 3 | -375/+0 |
| | |||||
* | Add couch_views_encoding max value | Garren Smith | 2020-04-06 | 1 | -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 indexer | Garren Smith | 2020-04-06 | 9 | -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 transactions | Garren Smith | 2020-04-06 | 1 | -1/+2 |
| | |||||
* | Add couch_views_indexer build to creation versionstamp | Garren Smith | 2020-04-06 | 7 | -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 plugin | Garren Smith | 2020-04-06 | 2 | -0/+8 |
| | |||||
* | add include_docs option to fold_docs | Garren Smith | 2020-04-06 | 1 | -2/+25 |
| | |||||
* | move all_doc view options to fabric2_util | Garren Smith | 2020-04-06 | 2 | -29/+39 |
| | |||||
* | fix all_docs call to return row | Garren Smith | 2020-04-06 | 1 | -1/+2 |
| | |||||
* | Merge pull request #2662 from cloudant/couch_view-rate_limit | iilyak | 2020-04-02 | 26 | -28/+1839 |
|\ | | | | | Use `couch_rate` application for `couch_view` | ||||
| * | Use `couch_rate` application for `couch_view` | ILYA Khlopotov | 2020-04-02 | 26 | -28/+1839 |
|/ | |||||
* | Merge pull request #2743 from apache/switch-erlfdb-couch | Robert Newson | 2020-04-01 | 1 | -6/+2 |
|\ | | | | | Switch erlfdb to the couchdb repo at tag v1.0.0 | ||||
| * | Switch erlfdb to the couchdb repo at tag v1.0.0 | Robert Newson | 2020-04-01 | 1 | -6/+2 |
|/ |