1
0
mirror of https://github.com/Yubico/yubikey-ksm.git synced 2024-11-29 00:24:14 +01:00
yubikey-ksm/ykksm-db.sql
2009-12-14 14:08:02 +00:00

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)
);