2009-02-24 22:27:28 +01:00
|
|
|
create table yubikeys (
|
|
|
|
-- identities:
|
2009-12-14 17:18:38 +01:00
|
|
|
serialnr int not null,
|
|
|
|
publicname varchar(16) unique not null,
|
2009-02-24 22:27:28 +01:00
|
|
|
|
|
|
|
-- timestamps:
|
2009-12-14 15:08:02 +01:00
|
|
|
created varchar(24) not null,
|
2009-02-24 22:27:28 +01:00
|
|
|
|
|
|
|
-- the data:
|
2009-12-14 17:18:38 +01:00
|
|
|
internalname varchar(12) not null,
|
|
|
|
aeskey varchar(32) not null,
|
|
|
|
lockcode varchar(12) not null,
|
2009-02-24 22:27:28 +01: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 17:18:38 +01:00
|
|
|
primary key (publicname)
|
2009-02-24 22:27:28 +01:00
|
|
|
);
|