storj/satellite/satellitedb/dbx
Cameron 41c2bca096 satellite/{console,metainfo,satellitedb}: add projectdb method GetSalt
Add new project db method, GetSalt, to get project salt. If salt
column is empty, return the sha-256 hash of the project ID. This
new method is used in metainfo endpoint ProjectInfo to return the
project salt to the client. This is backwards compatible because
the salt column is not populated yet. The updated endpoint will
do the same thing as the current endpoint.

Change-Id: I7eba376c865e10995a5a916302feca7cd7c7efa2
2022-09-26 13:12:21 +00:00
..
templates satellite/dbx: standardize on assignment 2020-12-01 16:10:18 +00:00
cockroach.go private/dbutil: use dbutil and tagsql from storj.io/private 2021-04-23 14:36:52 +03:00
gen.go ci: fix lint errors 2021-05-17 13:37:31 +00:00
gen.sh private/dbutil: use dbutil and tagsql from storj.io/private 2021-04-23 14:36:52 +03:00
satellitedb.dbx satellite/{console,metainfo,satellitedb}: add projectdb method GetSalt 2022-09-26 13:12:21 +00:00
satellitedb.dbx.go satellite/{console,metainfo,satellitedb}: add projectdb method GetSalt 2022-09-26 13:12:21 +00:00
satellitedb.dbx.pgx.sql satellitedb: add signup_captcha column to users table 2022-08-17 14:31:52 -05:00
satellitedb.dbx.pgxcockroach.sql satellitedb: add signup_captcha column to users table 2022-08-17 14:31:52 -05:00