You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 24, 2019. It is now read-only.
I created a test key pair, and sent the bare revocation certificate to hockeypuck with the submit key option of the web interface. It caused an immediate panic of the server process.
hockeypuck@hockeypuck:~$ hockeypuck -config=/etc/hockeypuck/hockeypuck.conf
WARN[0000] error executing "ALTER TABLE keys ADD CONSTRAINT keys_pk PRIMARY KEY (rfingerprint);": pq: multiple primary keys for table "keys" are not allowed
WARN[0000] error executing "ALTER TABLE keys ADD CONSTRAINT keys_md5 UNIQUE (md5);": pq: relation "keys_md5" already exists
WARN[0000] error executing "CREATE INDEX keys_rfp ON keys(rfingerprint text_pattern_ops);": pq: relation "keys_rfp" already exists
WARN[0000] error executing "CREATE INDEX keys_ctime ON keys (ctime);": pq: relation "keys_ctime" already exists
WARN[0000] error executing "CREATE INDEX keys_mtime ON keys (mtime);": pq: relation "keys_mtime" already exists
WARN[0000] error executing "CREATE INDEX keys_keywords ON keys USING gin(keywords);": pq: relation "keys_keywords" already exists
WARN[0000] error executing "ALTER TABLE subkeys ADD CONSTRAINT subkeys_pk PRIMARY KEY (rsubfp);": pq: multiple primary keys for table "subkeys" are not allowed
WARN[0000] error executing "ALTER TABLE subkeys ADD CONSTRAINT subkeys_fk FOREIGN KEY (rfingerprint) REFERENCES keys(rfingerprint);": pq: constraint "subkeys_fk" for relation "subkeys" already exists
WARN[0000] error executing "CREATE INDEX subkeys_rfp ON subkeys(rsubfp text_pattern_ops);": pq: relation "subkeys_rfp" already exists
With this patch, bare revocation certificates will be ignored. /pks/add
handler would need to look up the primary key from the key ID, and merge
in the signature in order to support posting bare revocation certs.
I created a test key pair, and sent the bare revocation certificate to hockeypuck with the submit key option of the web interface. It caused an immediate panic of the server process.
I submit the bare certificate now...
The text was updated successfully, but these errors were encountered: