Re: Current examples for creating keys, updating and getting freesites

Michael Pearce <michaelgpearce-/[email protected]> Fri, 8 Nov 2013 00:48:52 -0800 (PST)
Newsgroups gmane.network.freenet.technical
Message-ID <[email protected]>
This is a multi-part message in MIME format.

------------=_527CA57A.E197C282
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Spam detection software, running on the system "freenetproject.org", has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email.  If you have any questions, see
the administrator of that system for details.

Content preview:  Hey all. I missed the Hello message. My previous comman=
d works
   after issuing: ClientHello Name=3DMy Freenet Client ExpectedVersion=3D=
2.0 EndMessage
   -mgp [...]=20

Content analysis details:   (5.6 points, 5.0 required)

 pts rule name              description
---- ---------------------- ---------------------------------------------=
-----
-0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at http://www.dnswl.org/, =
no
                            trust
                            [98.138.91.66 listed in list.dnswl.org]
 1.3 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net
                [Blocked - see <http://www.spamcop.net/bl.shtml?98.138.91=
.66>]
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail =
provider
                            (michaelgpearce[at]yahoo.com)
                            (michaelgpearce[at]yahoo.com)
                            (michaelgpearce[at]yahoo.com)
                            (michaelgpearce[at]yahoo.com)
                            (michaelgpearce[at]yahoo.com)
                            (michaelgpearce[at]yahoo.com)
                            (michaelgpearce[at]yahoo.com)
                            (michaelgpearce[at]yahoo.com)
                            (michaelgpearce[at]yahoo.com)
                            (michaelgpearce[at]yahoo.com)
                            (michaelgpearce[at]yahoo.com)
 0.0 DKIM_ADSP_CUSTOM_MED   No valid author signature, adsp_override is
                            CUSTOM_MED
 0.0 HTML_MESSAGE           BODY: HTML included in message
-0.5 BAYES_05               BODY: Bayes spam probability is 1 to 5%
                            [score: 0.0155]
 0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not neces=
sarily valid
 3.0 NOT_SIGNED_BUT_EXPECTED Message should have been signed by DKIM but
                            wasn't
 2.0 FREENET_LOC_SHORT      Contains short body and URI
 1.0 T_DKIM_INVALID         DKIM-Signature header exists but is not valid
-1.3 AWL                    AWL: From: address is in the auto white-list

The original message was not completely plain text, and may be unsafe to
open with some email clients; in particular, it may contain a virus,
or confirm that your address can receive spam.  If you wish to view
it, it may be safer to save it to a file and open it with an editor.


------------=_527CA57A.E197C282
Content-Type: message/rfc822; x-spam-type=original
Content-Description: original message before SpamAssassin
Content-Disposition: attachment
Content-Transfer-Encoding: 7bit

Received: from freenetproject.org (localhost.localdomain [127.0.0.1])
	by freenetproject.org (Postfix) with ESMTP id B24574D390;
	Fri,  8 Nov 2013 08:48:57 +0000 (GMT)
X-Original-To: [email protected]
Delivered-To: [email protected]
Received: from freenetproject.org (localhost.localdomain [127.0.0.1])
 by filter.freenetproject.local (Postfix) with ESMTP id D7E5E4D38E
 for <[email protected]>; Fri,  8 Nov 2013 08:48:55 +0000 (GMT)
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on freenetproject.org
X-Spam-Level: ***
X-Spam-Status: No, score=4.0 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,FREENET_LOC_SHORT,HTML_MESSAGE,
 RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_DNSWL_NONE,SIGNED_AND_EXPECTED autolearn=no
 version=3.3.2
X-Spam-ASN: AS36646 98.138.0.0/16
Received: from nm7-vm0.bullet.mail.ne1.yahoo.com
 (nm7-vm0.bullet.mail.ne1.yahoo.com [98.138.91.66])
 by freenetproject.org (Postfix) with ESMTPS id 4161E4D38B
 for <[email protected]>; Fri,  8 Nov 2013 08:48:55 +0000 (GMT)
Received: from [98.138.100.117] by nm7.bullet.mail.ne1.yahoo.com with NNFMP;
 08 Nov 2013 08:48:53 -0000
Received: from [98.138.89.245] by tm108.bullet.mail.ne1.yahoo.com with NNFMP;
 08 Nov 2013 08:48:53 -0000
Received: from [127.0.0.1] by omp1059.mail.ne1.yahoo.com with NNFMP;
 08 Nov 2013 08:48:53 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 647220.95372.bm-3vrJY/WSUb8NRsd/[email protected]
Received: (qmail 55354 invoked by uid 60001); 8 Nov 2013 08:48:53 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024;
 t=1383900533; bh=1OvBUTKFUPhhNDgZfu2FY05aUiFy1d71n9oJq3JQWio=;
 h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type;
 b=RRq7bLaI9octuF1iEsHIYTodoEo+Rht0nRisX3GZDhzz09GYasyUiA4FXJzgESztRb9KNbKQwYzpQ+POLjFlwBKf+tJx+pMDQg/5BH3Z8/6GTjhnxN2LmoOc3f4bKRGtmK/F+vfnloaRtIZ6WQrHktd+IAvMsfVxBjGQByF1cEk=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com;
 h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type;
 b=ruh4wb7uKyxP5vgi8uIVaNk+DxHc3QMddnF8ss7SqOs/jeIQ+bkl1gWeEM4F5sYk0gW0jCKhakEqm1K9sPcGQ3QDDpabb6ArITps7fCdoiRwrsTu9hxdZWYY05SqkngSUh8dSSuRMiw/onRDVqSIVLScSKov4lN/92wc5JwCMxo=;
X-YMail-OSG: NfzZGj8VM1m.9cN8AoymnL8_GLQX0D58ViRUDgK66Q9pEaG
 CA0ydbSxy5g68rFbh6HyCtZ1Y1DiKbwKEGgbFi7_vig2Hye4kkcZ4UCMDuNb
 JaMl3ZeWid.RRTSqwV1_pAe4fdJVTKiQEwtBwOwQns9NR.KKhP.HNFepD48Q
 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AEBAQE-
X-Mailer: YahooMailWebService/0.8.163.597
References: <1383900239.91961.YahooMailNeo-pjN3lWTpRaBRBbKmAC7my5OW+3bF1jUfVpNB7YpNyf8@public.gmane.org>
Message-ID: <1383900532.55208.YahooMailNeo-pjN3lWTpRaAbWpotXP+qY5OW+3bF1jUfVpNB7YpNyf8@public.gmane.org>
Date: Fri, 8 Nov 2013 00:48:52 -0800 (PST)
From: Michael Pearce <michaelgpearce-/[email protected]>
To: "[email protected]" <[email protected]>
In-Reply-To: <1383900239.91961.YahooMailNeo-pjN3lWTpRaBRBbKmAC7my5OW+3bF1jUfVpNB7YpNyf8@public.gmane.org>
MIME-Version: 1.0
X-Envelope-From: <michaelgpearce-/[email protected]>
Subject: Re: [Tech] Current examples for creating keys,
	updating and getting freesites
X-BeenThere: [email protected]
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: Michael Pearce <michaelgpearce-/[email protected]>, [email protected]
List-Id: <tech.freenetproject.org>
List-Unsubscribe: <https://emu.freenetproject.org/cgi-bin/mailman/options/tech>, 
 <mailto:[email protected]?subject=unsubscribe>
List-Archive: <https://emu.freenetproject.org/pipermail/tech>
List-Post: <mailto:[email protected]>
List-Help: <mailto:[email protected]?subject=help>
List-Subscribe: <https://emu.freenetproject.org/cgi-bin/mailman/listinfo/tech>, 
 <mailto:[email protected]?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0900215259=="
Errors-To: [email protected]
Sender: [email protected]

--===============0900215259==
Content-Type: multipart/alternative; boundary="-2135704657-475569548-1383900532=:55208"

---2135704657-475569548-1383900532=:55208
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Hey all.=0A=0AI missed the Hello message. =A0My previous command works afte=
r issuing:=0AClientHello=0AName=3DMy Freenet Client=0AExpectedVersion=3D2.0=
=0AEndMessage=0A=0A-mgp=0A=0A=0A=0A=0AOn Friday, November 8, 2013 12:43 AM,=
 Michael Pearce <michaelgpearce-/[email protected]> wrote:=0A =0AHey all.=0A=0AI'm w=
anting to use Freenet to store small pieces of JSON data. =A0I'm wanting to=
 do the following operations:=0A=0A* Generate a new Public / Private Key Pa=
ir=0A* Insert / Update a JSON string of data using the above private key=0A=
* Get the JSON string using the public key=0A=0AIn the documentation for SS=
K, 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 didn't work. =A0From=
 what i can tell, this may no longer be the preferred way to do things.=0A=
=0AI then looked at the FCP docs at https://wiki.freenetproject.org/FCPv2, =
which i'm gonna guess is what i should be doing. =A0I then tried the follow=
ing:=0A=0A~/projects/ $ telnet 127.0.0.1 9481=0ATrying 127.0.0.1...=0AConne=
cted to localhost.=0AEscape character is '^]'.=0AGenerateSSK=0AIdentifier=
=3DMy Identifier Blah Blah=0AEndMessage=0AConnection closed by foreign host=
.=0A=0AIt does not look to have generated a key.=0A=0AIs there any example =
that i may have missed in my googling?=0A=0AThanks!=0A=0A-mike
---2135704657-475569548-1383900532=:55208
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><span>Hey all.</span></div><div style=3D"color: rgb(0, 0=
, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvet=
ica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; fon=
t-style: normal;"><span><br></span></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;"><span>I missed the Hello message. &nbsp;My previous command wo=
rks after issuing:</span></div><div style=3D"background-color: transparent;=
">ClientHello</div><div style=3D"background-color: transparent;">Name=3DMy =
Freenet Client</div><div style=3D"background-color: transparent;">ExpectedV=
ersion=3D2.0</div><div style=3D"background-color:
 transparent;"><span></span></div><div style=3D"background-color: transpare=
nt;">EndMessage</div><div><br></div><div>-mgp</div><div style=3D"color: rgb=
(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', H=
elvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent=
; font-style: normal;"><br></div><div class=3D"yahoo_quoted" style=3D"displ=
ay: block;"> <br> <br> <div style=3D"font-family: HelveticaNeue, 'Helvetica=
 Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt;"> <=
div style=3D"font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial=
, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div dir=3D"ltr"> <font s=
ize=3D"2" face=3D"Arial"> On Friday, November 8, 2013 12:43 AM, Michael Pea=
rce &lt;michaelgpearce-/[email protected]&gt; wrote:<br> </font> </div>  <div class=
=3D"y_msg_container"><div id=3D"yiv4140841815"><div><div style=3D"color: rg=
b(0, 0, 0); background-color: rgb(255, 255, 255); font-family: HelveticaNeu=
e, 'Helvetica
 Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt;"><d=
iv>Hey all.</div><div><br></div><div style=3D"color: rgb(0, 0, 0); font-siz=
e: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'L=
ucida Grande', sans-serif; background-color: transparent; font-style: norma=
l;">I'm wanting to use Freenet to store small pieces of JSON data. &nbsp;I'=
m wanting to do the following operations:</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;"><br></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;"=
>* 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; background-color: transpare=
nt; 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 Gra=
nde', sans-serif; background-color: transparent; font-style: normal;">* Get=
 the JSON string using the public 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-s=
tyle: normal;"><br></div><div 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;">In =
the documentation for SSK, it shows an example of doing=0A this via telnet =
(on port 2323, which i can't connect to):&nbsp;https://wiki.freenetproject.=
org/Signed_Subspace_Key. &nbsp;I attempted the MAKESSK telnetting to port&n=
bsp;9481 but it didn't work. &nbsp;From what i can tell, this may no longer=
 be the preferred way to do things.</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;"><br></div><div style=3D"color: rgb(0, 0, 0); font-size: 13px; =
font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Gra=
nde', sans-serif; background-color: transparent; font-style: normal;">I the=
n looked at the FCP docs at https://wiki.freenetproject.org/FCPv2, which i'=
m gonna guess is what i should be doing. &nbsp;I then tried the following:<=
/div><div class=3D"yiv4140841815"><br></div><div class=3D"yiv4140841815" st=
yle=3D"color:rgb(0, 0,
 0);font-size:13px;font-family:HelveticaNeue, 'Helvetica=0A Neue', Helvetic=
a, Arial, 'Lucida Grande', sans-serif;background-color:transparent;font-sty=
le:normal;">~/projects/ $ telnet 127.0.0.1 9481</div><div class=3D"yiv41408=
41815">Trying 127.0.0.1...</div><div class=3D"yiv4140841815">Connected to l=
ocalhost.</div><div class=3D"yiv4140841815">Escape character is '^]'.</div>=
<div class=3D"yiv4140841815">GenerateSSK</div><div class=3D"yiv4140841815">=
Identifier=3DMy Identifier Blah Blah</div><div class=3D"yiv4140841815">EndM=
essage</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-style: normal;">=0A=0A=0A=0A=0A=
=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A</div><div class=3D"yiv4140841815">Connection=
 closed by foreign host.</div><div class=3D"yiv4140841815"><br></div><div c=
lass=3D"yiv4140841815" 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 no=
t look to have generated a key.</div><div class=3D"yiv4140841815" 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 class=3D"yiv4140841815" sty=
le=3D"color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'He=
lvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-co=
lor: transparent; font-style: normal;">Is there any example that i may have=
 missed in my googling?</div><div class=3D"yiv4140841815" style=3D"color: r=
gb(0, 0, 0); font-size: 13px; font-family:
 HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-s=
erif; background-color: transparent; font-style: normal;"><br></div><div cl=
ass=3D"yiv4140841815" style=3D"color: rgb(0, 0, 0); font-size: 13px; font-f=
amily: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', =
sans-serif; background-color: transparent; font-style: normal;">Thanks!</di=
v><div class=3D"yiv4140841815" style=3D"color: rgb(0, 0, 0); font-size: 13p=
x; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida =
Grande', sans-serif; background-color: transparent; font-style: normal;"><b=
r></div><div class=3D"yiv4140841815" style=3D"color: rgb(0, 0, 0); font-siz=
e: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'L=
ucida Grande', sans-serif; background-color: transparent; font-style: norma=
l;">-mike</div></div></div></div><br><br></div>  </div> </div>  </div> </di=
v></body></html>
---2135704657-475569548-1383900532=:55208--

--===============0900215259==
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
--===============0900215259==--

------------=_527CA57A.E197C282--