...More
How to make "click this and get my key" script.
free image and put it into "key.png".
Example
<a href="http://openpksd.org/pks/lookup?search=0x02912c53"><img
border="0" src="key.png"></a> <- clieck
here
<-click here
Hironobu SUZUKI, 2003 May 31, June 2
OpenPKSD can run very quick full back up and quick recover from disk crash
because PostgreSQL is used for a back-end database of OpenPKSD. Full dump
time, included over 1.8 million public keys, is finished in 12 minutes
under Pentium 4 1.6GHz machine. Reloading time of key from back-up data
is finished in 28 minutes. If you want to make a copy of OpenPKSD keyserver,
you can finish it in 30 minutes. It is a good when you move current keyserver
contents onto new machine. After OpenPKSD installation on new site, you
can copy whole of database from old site, as bellow.
(Database is NOT created yet.)
% ssh newsite "(source /openpksd/Env ; createdb $DBNAME)"
% openpksd_dump.sh | ssh newsite "(source /openpksd/Env ; psql -d $DBNAME -f - -q)"
Related Information: Useful commands.
- "CREATE USER foo CREATEDB;" to add new user.
- "SELECT * FROM pg_tables;" to know table and onwer of table.
- "SELECT * FROM pg_user;" to know user ids.
- "UPDATE pg_class SET relowner = idnumber WHERE relname = 'table name';" to change table owner. idnumber is decimal.
- "% sed -e '/^\\connect /d' db.out | psql -d openpksd -f - -q" for a dumped file by other user account.
Hironobu SUZUKI, 2003 March 22,24,41
Next release will be after April or May because I have been making the
experimental OpenPKSD until end of March. That study is about cluster system of keyserver. But this is a perfectly prototype system, not good for usual use for public keyserver. I hope that this system can show the load map to the future of OpenPGP public keyservers. I hope I can put my HKP balancer into next release package.
Hironobu SUZUKI, 2003 Feb 6