mirror of
https://github.com/Yubico/yubikey-ksm.git
synced 2024-11-29 00:24:14 +01:00
23 lines
479 B
SQL
23 lines
479 B
SQL
create table yubikeys (
|
|
-- identities:
|
|
serialNr int not null,
|
|
publicName varchar(16) unique not null,
|
|
|
|
-- timestamps:
|
|
created varchar(24) not null,
|
|
|
|
-- the data:
|
|
internalName varchar(12) not null,
|
|
aesKey varchar(32) not null,
|
|
lockCode varchar(12) not null,
|
|
|
|
-- key creator, typically pgp key id of key generator
|
|
creator varchar(8) not null,
|
|
|
|
-- various flags:
|
|
active boolean default true,
|
|
hardware boolean default true,
|
|
|
|
primary key (publicName)
|
|
);
|