I added a ClientDelete command to the node's FCP implementation to delete 
keys from the local data store.   It takes the admin password and a list of 
keys. Note that you must set the admin password, and leave adminPeer unset in 
your freenet.conf/ini in order to use it.  It only deletes keys that you 
explicitly give it. i.e. it won't follow redirects / map files / SplitFiles.  

The current FCP implementation is unencrypted.  If you are worried about 
people sniffing the admin password, *don't use this command*.

It returns either a Success or a Failed message.  

Here's an example of a ClientDelete message:

ClientDelete
password=abracadabra
keys.0=freenet:SSK at npfV5XQijFkF6sXZvuO0o~kG4wEPAgM/homepage
keys.1=freenet:SSK at npfV5XQijFkF6sXZvuO0o~kG4wEPAgM/3c5f2080-04_homepage
EndMessage

How does this look to people (esp. thelema and other keepers of the FCP spec 
if there are any)?

I also checked in a servlet that deletes entire freesites / SplitFiles.

The class name is freenet.client.http.KeyExterminatorServlet.

--gj

--- 
Freesites
(0.3) freenet:MSK at SSK@enI8YFo3gj8UVh-Au0HpKMftf6QQAgE/homepage//
(0.4) freenet:SSK at npfV5XQijFkF6sXZvuO0o~kG4wEPAgM/homepage//

_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to