2009-02-24 21:27:28 +00:00
|
|
|
create table yubikeys (
|
|
|
|
-- identities:
|
2009-12-14 16:18:38 +00:00
|
|
|
serialnr int not null,
|
|
|
|
publicname varchar(16) unique not null,
|
2009-02-24 21:27:28 +00:00
|
|
|
|
|
|
|
-- timestamps:
|
2009-12-14 14:08:02 +00:00
|
|
|
created varchar(24) not null,
|
2009-02-24 21:27:28 +00:00
|
|
|
|
|
|
|
-- the data:
|
2009-12-14 16:18:38 +00:00
|
|
|
internalname varchar(12) not null,
|
|
|
|
aeskey varchar(32) not null,
|
|
|
|
lockcode varchar(12) not null,
|
2009-02-24 21:27:28 +00:00
|
|
|
|
|
|
|
-- key creator, typically pgp key id of key generator
|
|
|
|
creator varchar(8) not null,
|
|
|
|
|
|
|
|
-- various flags:
|
|
|
|
active boolean default true,
|
|
|
|
hardware boolean default true,
|
|
|
|
|
2009-12-14 16:18:38 +00:00
|
|
|
primary key (publicname)
|
2009-02-24 21:27:28 +00:00
|
|
|
);
|