Hi Julia,

On Mon, Jan 29, 2007 at 05:39:17PM +0300, Julia Dubenskaya wrote:
> > boolean (which is probably the SQL-correct case), we should rather
> > try something along the lines of 1=1. This works fine with MySQL,
> > could you please confirm that it works with PostgreSQL?
> 
> delete from secret where 1=1;
I guess this is the most abstract one, so I've just committed it.
Let's see what Oracle makes of it (seems to be the most annoying DB
I've ever encountered) ...

> > One more thing I noticed is that I am unsure whether the secret should
> > be deleted in the case of an openxpkiadm command - do we want users
> > to only run those while the server is not running, or has the code I
> > checked in an unwanted impact on a running server (namely deleting a 
> > possibly
> > still valid secret)?
> 
> As for me, I prefer to stop the server before performing any
> administration with openxpkiadm.

Same here, I guess this is a reasonable assumption. Maybe we should
check whether a server is running and warn the user / die if he assumes
to use administrative commands with a running server?

Greetings,
    Alex
-- 
Dipl.-Math. Alexander Klink | IT-Security Engineer
        [EMAIL PROTECTED] | working @ urn:oid:1.3.6.1.4.1.11417

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
OpenXPKI-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-devel

Reply via email to