Current examples for creating keys, updating and getting freesites
Michael Pearce <michaelgpearce-/[email protected]> Fri, 8 Nov 2013 00:43:59 -0800 (PST)
| Newsgroups | gmane.network.freenet.technical |
|---|---|
| Message-ID | <[email protected]> |
--===============1835683336== Content-Type: multipart/alternative; boundary="-9136404-2083088409-1383900239=:91961" ---9136404-2083088409-1383900239=:91961 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hey all.=0A=0AI'm wanting to use Freenet to store small pieces of JSON data= . =A0I'm wanting to do the following operations:=0A=0A* Generate a new Publ= ic / Private Key Pair=0A* Insert / Update a JSON string of data using the a= bove private key=0A* Get the JSON string using the public key=0A=0AIn the d= ocumentation for SSK, it shows an example of doing this via telnet (on port= 2323, which i can't connect to):=A0https://wiki.freenetproject.org/Signed_= Subspace_Key. =A0I attempted the MAKESSK telnetting to port=A09481 but it d= idn't work. =A0From what i can tell, this may no longer be the preferred wa= y to do things.=0A=0AI then looked at the FCP docs at https://wiki.freenetp= roject.org/FCPv2, which i'm gonna guess is what i should be doing. =A0I the= n tried the following:=0A=0A~/projects/ $ telnet 127.0.0.1 9481=0ATrying 12= 7.0.0.1...=0AConnected to localhost.=0AEscape character is '^]'.=0AGenerate= SSK=0AIdentifier=3DMy Identifier Blah Blah=0AEndMessage=0AConnection closed= by foreign host.=0A=0AIt does not look to have generated a key.=0A=0AIs th= ere any example that i may have missed in my googling?=0A=0AThanks!=0A=0A-m= ike ---9136404-2083088409-1383900239=:91961 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"color:#000; background-color:#fff; font-family:He= lveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;fo= nt-size:10pt"><div>Hey all.</div><div><br></div><div style=3D"color: rgb(0,= 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helv= etica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; f= ont-style: normal;">I'm wanting to use Freenet to store small pieces of JSO= N data. I'm wanting to do the following operations:</div><div style= =3D"color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helv= etica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-colo= r: transparent; font-style: normal;"><br></div><div style=3D"color: rgb(0, = 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helve= tica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; fo= nt-style: normal;">* Generate a new Public / Private Key Pair</div><div style=3D"color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue,= 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; backgroun= d-color: transparent; font-style: normal;">* Insert / Update a JSON string = of data using the above private key</div><div style=3D"color: rgb(0, 0, 0);= font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, = Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-sty= le: normal;">* Get the JSON string using the public key</div><div style=3D"= color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetic= a Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: t= ransparent; font-style: normal;"><br></div><div style=3D"color: rgb(0, 0, 0= ); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica= , Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-s= tyle: normal;">In the documentation for SSK, it shows an example of doing this via telnet (on port 2323, which i can't connect to): https://wik= i.freenetproject.org/Signed_Subspace_Key. I attempted the MAKESSK tel= netting to port 9481 but it didn't work. From what i can tell, t= his may no longer be the preferred way to do things.</div><div style=3D"col= or: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica N= eue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: tran= sparent; font-style: normal;"><br></div><div style=3D"color: rgb(0, 0, 0); = font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, A= rial, 'Lucida Grande', sans-serif; background-color: transparent; font-styl= e: normal;">I then looked at the FCP docs at https://wiki.freenetproject.or= g/FCPv2, which i'm gonna guess is what i should be doing. I then trie= d the following:</div><div class=3D""><br></div><div class=3D"" style=3D"co= lor: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: tr= ansparent; font-style: normal;">~/projects/ $ telnet 127.0.0.1 9481</div><d= iv class=3D"">Trying 127.0.0.1...</div><div class=3D"">Connected to localho= st.</div><div class=3D"">Escape character is '^]'.</div><div class=3D"">Gen= erateSSK</div><div class=3D"">Identifier=3DMy Identifier Blah Blah</div><di= v class=3D"">EndMessage</div><div style=3D"color: rgb(0, 0, 0); font-size: = 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Luci= da Grande', sans-serif; background-color: transparent; font-style: normal;"= >=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A</div><div class=3D"">Connect= ion closed by foreign host.</div><div class=3D""><br></div><div class=3D"" = style=3D"color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, = 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background= -color: transparent; font-style: normal;">It does not look to have generate= d a key.</div><div class=3D"" style=3D"color: rgb(0, 0, 0); font-size: 13px= ; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida G= rande', sans-serif; background-color: transparent; font-style: normal;"><br= ></div><div class=3D"" style=3D"color: rgb(0, 0, 0); font-size: 13px; font-= family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande',= sans-serif; background-color: transparent; font-style: normal;">Is there a= ny example that i may have missed in my googling?</div><div class=3D"" styl= e=3D"color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Hel= vetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><br></div>= <div class=3D"" style=3D"color: rgb(0, 0, 0); font-size: 13px; font-family:= HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-s= erif; background-color: transparent; font-style: normal;">Thanks!</div><div= class=3D"" style=3D"color: rgb(0, 0, 0); font-size: 13px; font-family: Hel= veticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif= ; background-color: transparent; font-style: normal;"><br></div><div class= =3D"" style=3D"color: rgb(0, 0, 0); font-size: 13px; font-family: Helvetica= Neue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; back= ground-color: transparent; font-style: normal;">-mike</div></div></body></h= tml> ---9136404-2083088409-1383900239=:91961-- --===============1835683336== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Tech mailing list [email protected] https://emu.freenetproject.org/cgi-bin/mailman/listinfo/tech --===============1835683336==--