influxdb/kv
Stuart Carnie 6bc4158a46 feat(authorization): Add bcrypt password support to v1 authorizations
This commit extends the `v1/authorization` package to support
passwords associated with a token.

The summary of changes include:

* authorization.Service implements influxdb.PasswordsService
* Setting passwords for authorizations
* Verifying (comparing) passwords for a given authorization
* A service to cache comparing passwords, using a weaker hash
  that will live in memory only. This implementation is copied
  from InfluxDB 1.x
* Extended HTTP service to set a password using
  /private/legacy/authorizations/{id}/password

Closes #
2020-10-28 13:03:42 -07:00
..
migration feat(authorization): Add bcrypt password support to v1 authorizations 2020-10-28 13:03:42 -07:00
auth.go refactor: migrator and introduce Store.(Create|Delete)Bucket () 2020-07-01 12:08:20 +01:00
auth_private_test.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
auth_test.go chore(tenant): make tenant and kv both conform with harness () 2020-08-11 15:56:42 +01:00
backup.go feat(storage): implement backup and restore () 2020-01-21 14:22:45 -08:00
bucket.go chore: total removal of references to hardcoded IDs 2020-09-11 12:29:00 -07:00
bucket_test.go chore(tenant): make tenant and kv both conform with harness () 2020-08-11 15:56:42 +01:00
cursor.go feat(platform): add generic kv store 2018-12-18 16:08:48 -05:00
cursor_test.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
dashboard.go feat(pkger): add ability to export dashboards by name 2020-08-27 15:32:04 -06:00
dashboard_test.go refactor: migrator and introduce Store.(Create|Delete)Bucket () 2020-07-01 12:08:20 +01:00
doc.go refactor: migrator and introduce Store.(Create|Delete)Bucket () 2020-07-01 12:08:20 +01:00
document.go refactor: migrator and introduce Store.(Create|Delete)Bucket () 2020-07-01 12:08:20 +01:00
document_options.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
document_test.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
encode.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
index.go refactor: migrator and introduce Store.(Create|Delete)Bucket () 2020-07-01 12:08:20 +01:00
index_migration.go refactor: migrator and introduce Store.(Create|Delete)Bucket () 2020-07-01 12:08:20 +01:00
index_test.go refactor: migrator and introduce Store.(Create|Delete)Bucket () 2020-07-01 12:08:20 +01:00
initial_migration.go refactor(notifications): isolate endpoint service () 2020-10-28 15:22:14 +00:00
kv_test.go chore(bolt): add option to skip fsync for test purposes () 2020-07-24 10:13:05 +01:00
kvlog.go refactor: migrator and introduce Store.(Create|Delete)Bucket () 2020-07-01 12:08:20 +01:00
kvlog_test.go refactor: migrator and introduce Store.(Create|Delete)Bucket () 2020-07-01 12:08:20 +01:00
label.go refactor: migrator and introduce Store.(Create|Delete)Bucket () 2020-07-01 12:08:20 +01:00
label_test.go refactor: migrator and introduce Store.(Create|Delete)Bucket () 2020-07-01 12:08:20 +01:00
lookup_service.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
lookup_service_test.go chore(tenant): make tenant and kv both conform with harness () 2020-08-11 15:56:42 +01:00
onboarding.go fix(kv): Reorganize bcrypt password hashing outside transactions 2020-10-12 08:06:32 -07:00
onboarding_test.go chore(tenant): make tenant and kv both conform with harness () 2020-08-11 15:56:42 +01:00
org.go refactor(notification): move rule service into own package () 2020-10-27 11:45:05 +00:00
org_test.go chore(tenant): make tenant and kv both conform with harness () 2020-08-11 15:56:42 +01:00
passwords.go fix(kv): Reorganize bcrypt password hashing outside transactions 2020-10-12 08:06:32 -07:00
passwords_test.go fix(kv): Reorganize bcrypt password hashing outside transactions 2020-10-12 08:06:32 -07:00
scrapers.go chore(tenant): point tests to new tenant service () 2020-09-02 11:50:26 -06:00
scrapers_test.go chore(tenant): point tests to new tenant service () 2020-09-02 11:50:26 -06:00
secret.go refactor: migrator and introduce Store.(Create|Delete)Bucket () 2020-07-01 12:08:20 +01:00
secret_test.go refactor: migrator and introduce Store.(Create|Delete)Bucket () 2020-07-01 12:08:20 +01:00
service.go refactor(notifications): isolate endpoint service () 2020-10-28 15:22:14 +00:00
service_test.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
source.go refactor: migrator and introduce Store.(Create|Delete)Bucket () 2020-07-01 12:08:20 +01:00
source_test.go refactor: migrator and introduce Store.(Create|Delete)Bucket () 2020-07-01 12:08:20 +01:00
store.go refactor: Replace ctx.Done() with ctx.Err() () 2020-09-16 12:20:09 -04:00
store_base.go refactor: migrator and introduce Store.(Create|Delete)Bucket () 2020-07-01 12:08:20 +01:00
store_base_test.go refactor: migrator and introduce Store.(Create|Delete)Bucket () 2020-07-01 12:08:20 +01:00
store_index.go refactor: migrator and introduce Store.(Create|Delete)Bucket () 2020-07-01 12:08:20 +01:00
store_index_test.go refactor: migrator and introduce Store.(Create|Delete)Bucket () 2020-07-01 12:08:20 +01:00
task.go chore(task): clean up old maxPermission code () 2020-08-26 10:26:32 -06:00
task_private_test.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
task_test.go chore(task): clean up old maxPermission code () 2020-08-26 10:26:32 -06:00
telegraf.go refactor: migrator and introduce Store.(Create|Delete)Bucket () 2020-07-01 12:08:20 +01:00
telegraf_test.go refactor: migrator and introduce Store.(Create|Delete)Bucket () 2020-07-01 12:08:20 +01:00
tenant_test.go refactor: migrator and introduce Store.(Create|Delete)Bucket () 2020-07-01 12:08:20 +01:00
unique.go chore(tenant): make tenant and kv both conform with harness () 2020-08-11 15:56:42 +01:00
urm.go refactor: migrator and introduce Store.(Create|Delete)Bucket () 2020-07-01 12:08:20 +01:00
urm_private_test.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
urm_test.go Merge remote-tracking branch 'origin/master' into sgc/tsm1 2020-08-11 10:25:01 -07:00
user.go feat(task): Add new permission lookup pattern for executor () 2020-07-13 14:47:58 -06:00
user_test.go refactor: migrator and introduce Store.(Create|Delete)Bucket () 2020-07-01 12:08:20 +01:00
variable.go fix(variables): use Update function for Put Variable 2020-09-11 11:48:11 -07:00
variable_test.go refactor: migrator and introduce Store.(Create|Delete)Bucket () 2020-07-01 12:08:20 +01:00