Hi All,

   
     I would appreciate if someone could help me answer few stuff on SVK
keys. As far as I understad they are just files that can be inserted
which are digitily signed and store. The convention is to have a file
containing a list of keys.

( I got source codes for the freenet 20001220 and compiling with jdk1.2.2
under linux)


Quesstion 1 
***********

So I do something like this:

$>freenet_insert freenet:SVK@ links

and I get back two keys 

Inserted Key
: freenet:SVK@NGvQ0KyQLelLBVCaQOjBzER4rpkQAgE,6A-ruISbqp0BuDTrPELEDg
SVK private key: LDMYpuB5r85QW~-de-z9zsrEEDE
Hang on to this key if you wish to update it in the future, or if you wish
to
insert subspace keys (SSKs) under this SVK root.


So far so good, but when I try to retrieve the file , I don;t get back the
file and the freenet simply stops 

$> freenet_request 
SVK@NGvQ0KyQLelLBVCaQOjBzER4rpkQAgE,6A-ruISbqp0BuDTrPELEDg testfile

Freenet Core running on 1043 (build 161)

$>
That's all the freenet code does .. am I not supposed to get back the file
? Is this a bug in the code ? If not what's the point of inserting
something if I cannot refer to it back ?




Question 2
**********

I could add the subspace key using private key and insert documents --
But if I try to insert a different documents it says Key collision and
exits . Isn't there any suport for updation under SVK ? If there is how
should I do it ?

$>freenet_insert freenet:SSK@privatekey//foo/links file2
$> freenet_insert freenet:SSK@privatekey//foo/links different_file

I get the message Key Collision and it exits ....




Question 3
**********

How should one specify the syntax on the command line if I want to insert
a different document under same SVK , say 

$>freenet_insert freenet:SVK@ links
Inserted Key
: freenet:SVK@NGvQ0KyQLelLBVCaQOjBzER4rpkQAgE,6A-ruISbqp0BuDTrPELEDg
SVK private key: LDMYpuB5r85QW~-de-z9zsrEEDE

and then I try

$>freenet_insert freenet:SVK@given_private_key newfile

It insert but gives another set of private and public key. If it's really
doing an updation why should a new pair be generated ???




I would be really grateful if someone can help me out on these questions
...

Thanks,

Ashish
 

 






_______________________________________________
Freenet-dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/freenet-dev

Reply via email to