refactor(server::{useragent::auth, client::auth}): use random based + timestamp nonce instead of monotonic counter in database
This commit is contained in:
@@ -155,7 +155,6 @@ diesel::table! {
|
||||
diesel::table! {
|
||||
program_client (id) {
|
||||
id -> Integer,
|
||||
nonce -> Integer,
|
||||
public_key -> Binary,
|
||||
metadata_id -> Integer,
|
||||
created_at -> Integer,
|
||||
@@ -189,7 +188,6 @@ diesel::table! {
|
||||
diesel::table! {
|
||||
useragent_client (id) {
|
||||
id -> Integer,
|
||||
nonce -> Integer,
|
||||
public_key -> Binary,
|
||||
key_type -> Integer,
|
||||
created_at -> Integer,
|
||||
|
||||
Reference in New Issue
Block a user