portainer/api/dataservices
Matt Hook 34cc8ea96a
feat(database): add encryption support EE-1983 (#6316)
* bootstrap encryption key

* secret key message change in cli and secret key file content trimmed

* Migrate encryption code to latest version

* pull in newer code

* tidying up

* working data encryption layer

* fix tests

* remove stray comment

* fix a few minor issues and improve the comments

* split out databasefilename with param to two methods to be more obvious

* DB encryption integration (#6374)

* json methods moved under DBConnection

* store encryption fixed

* cleaned

* review comments addressed

* newstore value fixed

* backup test updated

* logrus format config updated

* Fix for newStore

Co-authored-by: Matt Hook <hookenz@gmail.com>

* Minor improvements

* Improve the export code.  Add missing webhook for import

* rename HelmUserRepositorys to HelmUserRepositories

* fix logging messages

* when starting portainer with a key (first use) http is disabled by default.  But when starting fresh without a key, http is enabled?

* Fix bug for default settings on new installs

Co-authored-by: Prabhat Khera <prabhat.khera@portainer.io>
Co-authored-by: Prabhat Khera <91852476+prabhat-org@users.noreply.github.com>
2022-01-17 16:40:02 +13:00
..
apikeyrepository chore(store) EE-1981: Refactor/store/error checking, and other refactoring (#6173) 2021-12-15 15:26:09 +13:00
customtemplate chore(store) EE-1981: Refactor/store/error checking, and other refactoring (#6173) 2021-12-15 15:26:09 +13:00
dockerhub chore(store) EE-1981: Refactor/store/error checking, and other refactoring (#6173) 2021-12-15 15:26:09 +13:00
edgegroup chore(store) EE-1981: Refactor/store/error checking, and other refactoring (#6173) 2021-12-15 15:26:09 +13:00
edgejob chore(store) EE-1981: Refactor/store/error checking, and other refactoring (#6173) 2021-12-15 15:26:09 +13:00
edgestack fix(edgestacks): create new stack [EE-2178] (#6311) 2022-01-10 11:36:46 +02:00
endpoint feat(database): add encryption support EE-1983 (#6316) 2022-01-17 16:40:02 +13:00
endpointgroup chore(store) EE-1981: Refactor/store/error checking, and other refactoring (#6173) 2021-12-15 15:26:09 +13:00
endpointrelation chore(store) EE-1981: Refactor/store/error checking, and other refactoring (#6173) 2021-12-15 15:26:09 +13:00
errors feat(database): add encryption support EE-1983 (#6316) 2022-01-17 16:40:02 +13:00
extension chore(store) EE-1981: Refactor/store/error checking, and other refactoring (#6173) 2021-12-15 15:26:09 +13:00
helmuserrepository feat(database): add encryption support EE-1983 (#6316) 2022-01-17 16:40:02 +13:00
registry chore(store) EE-1981: Refactor/store/error checking, and other refactoring (#6173) 2021-12-15 15:26:09 +13:00
resourcecontrol chore(store) EE-1981: Refactor/store/error checking, and other refactoring (#6173) 2021-12-15 15:26:09 +13:00
role chore(store) EE-1981: Refactor/store/error checking, and other refactoring (#6173) 2021-12-15 15:26:09 +13:00
schedule chore(store) EE-1981: Refactor/store/error checking, and other refactoring (#6173) 2021-12-15 15:26:09 +13:00
settings chore(store) EE-1981: Refactor/store/error checking, and other refactoring (#6173) 2021-12-15 15:26:09 +13:00
ssl chore(store) EE-1981: Refactor/store/error checking, and other refactoring (#6173) 2021-12-15 15:26:09 +13:00
stack chore(store) EE-1981: Refactor/store/error checking, and other refactoring (#6173) 2021-12-15 15:26:09 +13:00
tag chore(store) EE-1981: Refactor/store/error checking, and other refactoring (#6173) 2021-12-15 15:26:09 +13:00
team fix(teams): create more then one team [EE-2184] (#6305) 2021-12-23 07:57:32 +02:00
teammembership chore(store) EE-1981: Refactor/store/error checking, and other refactoring (#6173) 2021-12-15 15:26:09 +13:00
tunnelserver chore(store) EE-1981: Refactor/store/error checking, and other refactoring (#6173) 2021-12-15 15:26:09 +13:00
user chore(store) EE-1981: Refactor/store/error checking, and other refactoring (#6173) 2021-12-15 15:26:09 +13:00
version chore(store) EE-1981: Refactor/store/error checking, and other refactoring (#6173) 2021-12-15 15:26:09 +13:00
webhook chore(store) EE-1981: Refactor/store/error checking, and other refactoring (#6173) 2021-12-15 15:26:09 +13:00
interface.go feat(database): add encryption support EE-1983 (#6316) 2022-01-17 16:40:02 +13:00