Commit Graph

4 Commits

Author SHA1 Message Date
ndiezel0
a92c0a6687
CDS-88: Add security parameters to keyring meta (#5)
* CDS-88: Add security parameters to keyring meta

* CDS-88: Rename security_parameters in config to new_key_security_parameters

* CDS-88: Refactor security_parameters encoding/decoding

* CDS-88: Rename
2019-07-05 17:26:04 +03:00
ndiezel0
6114ce6a0e
CDS-79: Adds keyring meta (#2)
* CDS-79: Add keyring meta

* CDS-79: Fix tests and specs

* CDS-79: fixes to tests

* CDS-79: encode binary in base64 in order to store in json

* CDS-79: implement cds_proto Meta methods

* CDS-79: Ensure that meta isn't overwritten by FSMs

* CDS-79: Add backward compatibility storage tests

* CDS-79: Fix dialyzer

* CDS-79: Update keyring_path usage in test

* CDS-79: Add meta tests

* CDS-79: Add rotation meta collision test

* CDS-79: Fix exception for update_meta during not_initialized

* CDS-79: Move kds_keyring_storage_file specific function to module

* CDS-79: spec fix

* CDS-79: replace dumb copy with symlink

* CDS-89: Add GetKeyring method with SSL (#3)

* CDS-89: Add ability to get keyring from storage

* CDS-89: replace dumb copy with symlink

* CDS-89: Add ssl support for keyring storage api

* Update apps/kds/test/kds_keyring_storage_api_tests_SUITE.erl

Co-Authored-By: Sergei Shuvatov <Yozhig@users.noreply.github.com>

* Update apps/kds/test/kds_keyring_storage_api_tests_SUITE.erl

Co-Authored-By: Sergei Shuvatov <Yozhig@users.noreply.github.com>

* Update apps/kds/test/kds_keyring_client.erl

Co-Authored-By: Sergei Shuvatov <Yozhig@users.noreply.github.com>

* Update apps/kds/test/kds_keyring_client.erl

Co-Authored-By: Sergei Shuvatov <Yozhig@users.noreply.github.com>

* CDS-89: Review fix

* CDS-89: sys.config update

* CDS-79: Review fix

* CDS-79: Review fix

* CDS-79: Review fix

* CDS-79: Refactor meta validation

* CDS-79: Add error if UpdateKeyringMeta doesn't make changes

* CDS-79: Fix initializer returning actual keyring instead of diff.

* CDS-79: spec fix

* CDS-79: fix rotator and kds_keyring specs

* CDS-79: remove ability to make meta updates if not_initialized

* Update apps/kds/src/kds_keyring_management_thrift_handler.erl

Co-Authored-By: Sergei Shuvatov <Yozhig@users.noreply.github.com>

* CDS-79: remove useless slash in string

* CDS-79: fix storage file decoding

* CDS-79: bump handler version and move same meta check to manager

* CDS-79: add format version to keyring storage for decoding

* CDS-79: Add version to keyring meta

* CDS-79: Remove diffs for keyring

* CDS-79: type fix

* CDS-79: Move keyring_meta types to it's module

* CDS-79: replace string generation with converting Reason to binary

* CDS-79: Update encrypted keyring format and rename current_key to max_key_id

* CDS-79: Refactor

* CDS-79: Update doc

* CDS-79: Remove validation failed and bump cds_proto version

* CDS-79: Add ability to change current_key_id in meta

* CDS-79: Fix missing exceptions in handler
2019-07-03 15:29:48 +03:00
ndiezel0
5290f88d44
CDS-91: Update erlang to version 21.3.8.4 (#4) 2019-07-03 14:06:41 +03:00
ndiezel0
6c4d623cca
CDS-65: Move CDS Keyring to it's own service (#1)
* CDS-65: Move CDS Keyring to it's own service

* CDS-65: Add libdecaf to app.src and recon

* CDS-65: remove unneeded deps

* CDS-65: fix services order, remove .sp and fix README

* CDS-65: change log printing style for stacktrace and remove raising woody error with term()

* CDS-65: doc fix

* CDS-65: fix rebar.config

* CDS-65: review fixes

* CDS-65: fix tests

* CDS-65: fix format and woody raise error types

* CDS-65: move kds_keyring_client to test/ folder and introduce cipher macro

* CDS-65: move private keys to files in tests

* CDS-65: remove reverse list from tests and make convert_to_map/1 to convert_to_map/2

* CDS-65: Review fixes

* CDS-65: Compile fix

* CDS-65: Remove keyring storage env

* CDS-65: Make kds_keyring_storage_file stateful

* CDS-65: Add comments on why we can't catch exact shamir errors

* CDS-65: Rename service_code to service_name

Co-Authored-By: Andrew Mayorov <encube.ul@gmail.com>

* CDS-65: Review fixes

* CDS-65: Add stacktrace to keysharing error logging

* CDS-65: Lint fix

* CDS-65: app start fix

* CDS-65: fix dialyzer

* CDS-65: Introduce generic keyring_storage_opts in config
2019-06-21 11:46:13 +03:00