stebalien changed the topic of #ipfs to: Heads Up: To talk, you need to register your nick! Announcements: go-ipfs 0.4.18 and js-ipfs 0.33 are out! Get them from dist.ipfs.io and npm respectively! | Also: #libp2p #ipfs-cluster #filecoin #ipfs-dev | IPFS, the InterPlanetary FileSystem: https://github.com/ipfs/ipfs | Logs: https://view.matrix.org/room/!yhqiEdqNjyPbxtUjzm:matrix.org/ | Forums: https://discuss.ipfs.io | Code of Con
<seba-> last post
<seba-> i'm doing step by step how it works
<TimMc> ah, cool
Xenguy has quit [Ping timeout: 240 seconds]
dimitarvp has quit [Quit: Bye]
Xenguy has joined #ipfs
gmoro has quit [Ping timeout: 246 seconds]
ToxicFrog has quit [Ping timeout: 250 seconds]
<Kolonka[m]> probably, Copenhagen_Bram
<void09> anyone here knowledgeable with file sharing technologies?
<void09> well, dumb question to ask in #ipfs. lol
}ls{ has quit [Quit: real life interrupt]
<void09> I am looking for some program that can work like git, but distributed. to keep a repository of files in sync across peers. it can be server based
<Swedneck> syncthing?
<Swedneck> git is pretty much distributed btw
<void09> ah no. not syncthing
<void09> i am looking for someting like git, but the distribution of files should be p2p, like torrent
<void09> or ipfs
<Swedneck> ???
<Swedneck> git isn't a way to distribute files
<void09> i know what git is
<void09> but source code = files.
<void09> you can look at it as such
<Swedneck> syncthing is p2p, i'm not sure what disqualifies it
<void09> ok maybe I am confusing it with some backup app
guruken has quit [Quit: Lost terminal]
<void09> ok i will test it. looks interesting
<postables[m]> @void09: you should also take a look at https://github.com/sahib/brig
<postables[m]> it uses ipfs
<Swedneck> ooh
ddahl has quit [Remote host closed the connection]
<Swedneck> yeah syncthing's version control kinda sucks
<void09> also need some users to be able to modify the repository , aka commit changes
<void09> and others to only have read/clone rights
<Swedneck> syncthing can do that
<void09> looks interesting but all my friends are asleep and can't test it now. darn : d
<Swedneck> postables: i can't compile brig
<Swedneck> it just does nothing
<Swedneck> oh actually no, it just refuses to see the binary when i run `sudo make install`
<Copenhagen_Bram> void09: I think you're looking for IPFS and git together
<Copenhagen_Bram> Syncthing? With things like IPFS and dat, I was about to conclude that Syncthing was old news. lol
<Swedneck> syncthing is infinitely more usable than ipfs or dat right now
bauruine_ has quit [Ping timeout: 252 seconds]
<Swedneck> it would be nice to see syncthing use ipfs, although i don't think there'd be any benefit to it really. maybe making it slightly faster to transfer stuff due to deduplication?
<void09> Copenhagen_Bram: yeah pretty much that :)
<void09> git + per file torrenting (which is ipfs)
uncle_ben has joined #ipfs
<postables[m]> swedneck:swedneck.xyz check `$GOPATH/bin`
charlton has joined #ipfs
<Swedneck> ah
<Swedneck> oooh actually maybe this is something i should suggest for siderus orion
<Copenhagen_Bram> Swedneck: you mean I can share files with syncthing? :o
<Swedneck> uh yeah?
<Swedneck> well not arbitrarily to anyone on the web, but you can set it up to sync with people you know
<void09> but it doesn't work like torrent.. not anybody with a magnet link can connect to my folder
<void09> yeah, that's a limitation for my use case
<Swedneck> that's something ipfs in syncthing would solve, yeah
<postables[m]> brig sounds exactly like the thing you're looking for
The_8472 has quit [Ping timeout: 240 seconds]
charlton has quit [Quit: 💪👁👄👁🤙 y o]
The_8472 has joined #ipfs
The_8472 has quit [Ping timeout: 252 seconds]
The_8472 has joined #ipfs
ToxicFrog has joined #ipfs
The_8472 has quit [Ping timeout: 240 seconds]
psydroid[m] is now known as psydroid
psydroid is now known as Guest21337
The_8472 has joined #ipfs
<uncle_ben> After enabling QUIC there is no more peer information on the webui
Guest21337 is now known as psydroid[m]
fauno has quit [Remote host closed the connection]
fauno has joined #ipfs
The_8472 has quit [Ping timeout: 252 seconds]
fauno has quit [Remote host closed the connection]
fauno has joined #ipfs
fauno has quit [Remote host closed the connection]
fauno has joined #ipfs
The_8472 has joined #ipfs
fauno has quit [Remote host closed the connection]
fauno has joined #ipfs
ebarch has quit [Quit: The Lounge - https://thelounge.github.io]
ebarch has joined #ipfs
fauno has quit [Remote host closed the connection]
fauno has joined #ipfs
fauno has quit [Ping timeout: 268 seconds]
nonono has joined #ipfs
nonono has quit [Max SendQ exceeded]
nonono has joined #ipfs
The_8472 has quit [Ping timeout: 240 seconds]
The_8472 has joined #ipfs
clemo has quit [Ping timeout: 246 seconds]
reit has joined #ipfs
lord| has quit [Quit: WeeChat 2.3]
zeden has quit [Quit: WeeChat 2.3]
lord| has joined #ipfs
obel[m] has joined #ipfs
arthuredelstein has quit [Ping timeout: 268 seconds]
skeithc has quit [Ping timeout: 240 seconds]
arthuredelstein has joined #ipfs
Belkaar_ has quit [Read error: Connection reset by peer]
Belkaar has joined #ipfs
Belkaar has joined #ipfs
lordcirth__ has joined #ipfs
lordcirth has quit [Ping timeout: 245 seconds]
cwahlers has joined #ipfs
cwahlers_ has quit [Ping timeout: 252 seconds]
user_51 has quit [Ping timeout: 245 seconds]
user_51 has joined #ipfs
reit has quit [Quit: Leaving]
ebarch has quit [Quit: The Lounge - https://thelounge.github.io]
ebarch has joined #ipfs
renich has joined #ipfs
The_8472 has quit [Ping timeout: 252 seconds]
Guest2918 is now known as void001[m][m]
The_8472 has joined #ipfs
lassulus_ has joined #ipfs
lassulus has quit [Ping timeout: 272 seconds]
lassulus_ is now known as lassulus
renich has quit [Quit: renich]
daMaestro has joined #ipfs
The_8472 has quit [Ping timeout: 240 seconds]
BeerHall has joined #ipfs
The_8472 has joined #ipfs
daMaestro has quit [Quit: Leaving]
_whitelogger has joined #ipfs
vijayee has quit [Ping timeout: 245 seconds]
<Lostfile[m]1> Its written in go though
<Lostfile[m]1> Trying to set it up is a little Finnicky
vijayee has joined #ipfs
hexfive has quit [Quit: WeeChat 2.3]
Pulse2496 has joined #ipfs
_whitelogger has joined #ipfs
lnykww has joined #ipfs
uxfi has joined #ipfs
The_8472 has quit [Ping timeout: 252 seconds]
uxfi has left #ipfs ["Leaving"]
florianH__ has joined #ipfs
lysoft has joined #ipfs
The_8472 has joined #ipfs
lnykww has quit []
The_8472 has quit [Ping timeout: 240 seconds]
}ls{ has joined #ipfs
The_8472 has joined #ipfs
The_8472 has quit [Ping timeout: 252 seconds]
nonono has quit [Ping timeout: 240 seconds]
The_8472 has joined #ipfs
gelmutshmidt has joined #ipfs
The_8472 has quit [Ping timeout: 240 seconds]
cwahlers_ has joined #ipfs
cwahlers has quit [Ping timeout: 245 seconds]
rendar has joined #ipfs
The_8472 has joined #ipfs
The_8472 has quit [Ping timeout: 252 seconds]
The_8472 has joined #ipfs
The_8472 has quit [Ping timeout: 240 seconds]
Xenguy has quit [Ping timeout: 240 seconds]
The_8472 has joined #ipfs
<seba-> hm
Xenguy has joined #ipfs
ylp has joined #ipfs
Xenguy has quit [Ping timeout: 240 seconds]
ygrek has joined #ipfs
Xenguy has joined #ipfs
The_8472 has quit [Ping timeout: 252 seconds]
hph^ has joined #ipfs
The_8472 has joined #ipfs
The_8472 has quit [Ping timeout: 240 seconds]
The_8472 has joined #ipfs
lnostdal has quit [Ping timeout: 244 seconds]
The_8472 has quit [Ping timeout: 252 seconds]
Xenguy has quit [Ping timeout: 245 seconds]
Xenguy has joined #ipfs
The_8472 has joined #ipfs
clemo has joined #ipfs
Copenhagen_Bram has quit [Ping timeout: 252 seconds]
Elon_Satoshi has joined #ipfs
woss_io has joined #ipfs
dimitarvp has joined #ipfs
<seba-> so anyone that would help with this https://discuss.ipfs.io/t/ipfs-ping-protocol/4658/24
gmoro has joined #ipfs
spinza has quit [Quit: Coyote finally caught up with me...]
<geoah> damn seba- that's a long ass thread :P
<geoah> so you are still stuck on secio I take it?
spinza has joined #ipfs
<geoah> https://github.com/libp2p/go-libp2p-secio/blob/master/protocol.go#L137 provides a good rundown of what the handshake protocol is doing (look for the `// step` comments.
<geoah> can you figure out from this which step you are stuck in?
<seba-> geoah yes,
<seba-> s.sharedSecret, err = genSharedKey(exchangeIn.GetEpubkey())
<seba-> from incl. that point on
<seba-> i'm lost
<seba-> well i'm working everyday on this and i updated what i've lerned insofar :)
<seba-> so that i will help others ^.^
obensource has quit [Ping timeout: 250 seconds]
vmx has joined #ipfs
chiui has joined #ipfs
lnostdal has joined #ipfs
<geoah> seems that the shared key is the public key of the other side (client probably) that is contained in the Exchange message
obensource has joined #ipfs
<seba-> well i don't understand the concept even
<seba-> how is the stuff encrypted
<seba-> what is the hmac secret?
<seba-> i don't even understand the concept of how this works lol
<seba-> i think i'm mising something
<geoah> seba- I don't think anything is encrypted at this point (only if your underlying connection is TLS based)
zeden has joined #ipfs
<seba-> geoah, well up to that point i do everything correctly
<seba-> what you get in response is
<seba-> the other's client nonce (16 bytes) encrypted + hmac of the message
<seba-> which is 32 bytes
<seba-> i don't understand how it encrypts and how does it signs
<seba-> it looks voodoo or i'm understanding wrong
<Harekiet> black magic involved, sacrificing goats and new borns
The_8472 has quit [Ping timeout: 240 seconds]
<seba-> yes
<seba-> it's just heavy covered in golang's crypto package
<seba-> i don't understand what it's happening
<Harekiet> Although I don't really know what to do with ipfs, seemed nice to just run a node on my bored rpi
<seba-> Harekiet, well i'm trying to understand why it consumes so much resources and works so bad
<seba-> also why behind NAT it works so bad
<Harekiet> I haven't really put it to test, you'd need actual content to view :)
<seba-> Harekiet, http://plesko.si/test/
<seba-> here you have for testing
The_8472 has joined #ipfs
<Harekiet> Well okay, but besides that there's not much else to see ,but then again it's always the trouble with all these federated networks, nobody making the switch if it's not easy
zeden has quit [Quit: WeeChat 2.3]
<seba-> Harekiet, hm, well you could do it now with javascript for those which don't have the daemon running or just http headers to serve the content via IPFS for the 0.01% that has IPFS and for the rest http
<seba-> :>
zeden has joined #ipfs
<Harekiet> oh yeh I read about that javascript implementation
<Harekiet> It doesn't really seem to focus on anonimity either with endless rerouting just get it working, so there's that
<seba-> <?php
<seba-> header('ETag: "QmX8DwrfM8D9e3PbBoKjqinjR2jtMT97ewYecu7r9D7jnP"');
<seba-> header('X-Ipfs-Path: /ipfs/QmX8DwrfM8D9e3PbBoKjqinjR2jtMT97ewYecu7r9D7jnP');
<seba-> header('Cache-Control: public');
<seba-> header('Location: cat.jpg');
<seba-> ?>
<seba-> this is for example how to show a file
<seba-> that if you have IPFS it goes through IPFS
<seba-> otherwise through HTTP it just shows cat.jpg
<seba-> :)
<Harekiet> ipfs can be the best hashed cat storage system the world has even seen and the internet is mostly cat pics so that's a good start :)
<seba-> yes
<seba-> this implements that
<seba-> if you have a IPFS aware browser
<seba-> it will go through IPFS
<seba-> if not, through HTTP
vasco-santos[m] has joined #ipfs
rcat has joined #ipfs
ikari` has joined #ipfs
deuseffect[m] has joined #ipfs
zeden has quit [Quit: WeeChat 2.3]
zeden has joined #ipfs
math_ has joined #ipfs
vijayee has quit [Ping timeout: 268 seconds]
vijayee has joined #ipfs
Taoki has joined #ipfs
malaclyps has quit [Read error: Connection reset by peer]
malaclyps has joined #ipfs
ikari` has quit [Quit: This computer has gone to sleep]
The_8472 has quit [Ping timeout: 252 seconds]
ikari` has joined #ipfs
ikari` has quit [Client Quit]
The_8472 has joined #ipfs
alexgr has quit [Quit: Leaving]
cyfex_ has joined #ipfs
cyfex has quit [Ping timeout: 240 seconds]
cwahlers has joined #ipfs
cwahlers_ has quit [Ping timeout: 244 seconds]
Elon_Satoshi is now known as Copenhagen_Bram
vijayee has quit [Ping timeout: 250 seconds]
nighty- has quit [Remote host closed the connection]
mowcat has joined #ipfs
<seba-> hm ok i give up for today. :'(
<pburton[m]> Interested in learning more about the Pinata Project? Join us today at 17pm UTC! https://protocol.zoom.us/j/443621844
vijayee has joined #ipfs
lysoft has quit [Ping timeout: 268 seconds]
woss_io has quit [Read error: Connection reset by peer]
woss_io has joined #ipfs
psydroid[m] is now known as psydroid
psydroid has quit [Changing host]
psydroid has joined #ipfs
psydroid has joined #ipfs
BeerHall has quit [Quit: BeerHall]
The_8472 has quit [Ping timeout: 240 seconds]
fauno has joined #ipfs
appa has quit [Quit: WeeChat 1.9.1]
appa_ has quit [Quit: WeeChat 1.9.1]
appa has joined #ipfs
appa_ has joined #ipfs
The_8472 has joined #ipfs
arader has quit [Ping timeout: 245 seconds]
lysoft has joined #ipfs
renich has joined #ipfs
biplavo has joined #ipfs
biplavo has quit [Client Quit]
Mateon3 has joined #ipfs
Mateon1 has quit [Ping timeout: 246 seconds]
Mateon3 is now known as Mateon1
<seba-> whyrusleeping, when you'll have time, https://discuss.ipfs.io/t/ipfs-ping-protocol/4658/24 ; i'm stuck incl. from s.sharedSecret, err = genSharedKey(exchangeIn.GetEpubkey()) on of https://github.com/libp2p/go-libp2p-secio/blob/master/protocol.go#L137
<geoah> seba-: sorry got distracted -- this is what generates the secret from the other side. https://github.com/libp2p/go-libp2p-crypto/blob/0f79fbebcb64f746a636aba79ece0635ec5919e9/key.go#L156-L170
<seba-> yes
<seba-> i just don't understand what it does
<seba-> it's heavy go lang
<seba-> i'm doing it in php (later i'll try in c)
<seba-> and it has much less "abstractions" or how would i say
<seba-> i'm trying to use openssl
<seba-> insofar i managed to do it fully with openssl
<seba-> up to that point
<seba-> geoah ^
<seba-> i think unmarshal means deserialize
<seba-> but i'm not sure if it's the same in elliptic.Unmarshal
<seba-> it could be that it just reads the first byte of the 65 bytes, which is static
<seba-> and most likely key type, but i could be wrong
<geoah> it basically seems to be getting the x and y points of the curve from the public key
<geoah> elliptic.Unmarshal's comment is
<geoah> / Unmarshal converts a point, serialized by Marshal, into an x, y pair.
<geoah> / It is an error if the point is not in uncompressed form or is not on the curve.
<seba-> yeah
<geoah> / On error, x = nil.
<seba-> i don't know how to translate this to openssl
<geoah> what it does internally is ignoring the first byte, and splitting the rest in two big ints
<seba-> oh
<seba-> yes first byte is 0x04, i don't understand what's its purpose
<seba-> ok
<seba-> so you take half the key and that's one int
<seba-> first 32 bytes
<seba-> and the other half is the second int
<seba-> ok gotcha
<seba-> what about next?
<geoah> 04 is a constant apparently -- it's just for identiying the encoding of the key
<seba-> yes
<seba-> secp256k1 hm i don't think it uses that
<seba-> if i generate a new key with prime256v1
<seba-> it works, i get the response
<seba-> but not with secp256k1
<seba-> The uncompressed conversion form takes 65 bytes:
<seba-> The constant 04 prefix.
<seba-> The 32-byte x
<seba-> coordinate.
<seba-> The 32-byte y
<seba-> coordinate.
<seba-> oh
<seba-> 0x04 means it's uncompressed
<seba-> finally i know
<seba-> thank you geoah
<geoah> hm -- I think this is just ecdh?
<seba-> i think it is too
ikari` has joined #ipfs
<seba-> but i'm not really familiar with it
<seba-> never done it
<seba-> it's mostly done by libs
<seba-> so you don't even know what's being done
<seba-> :)
<geoah> seba-: maybe not -- it's close I think, just the shared key is generated only by one key pair which is weird or I'm missing something
<seba-> geoah, can i write thanks to you in the next post?
<geoah> owh no, it's fine
<geoah> so
<geoah> this is basically what's you need to do
<seba-> yes i'll try that :)
<geoah> once you have exchanged keys, calculate the shared keys with these
ebarch has quit [Quit: The Lounge - https://thelounge.chat]
<seba-> geoah, well i'm trying to understand whole IPFS protocol and make a nice write up that people can repeat ^.^
<seba-> not just using random libs
ebarch has joined #ipfs
<seba-> for start i want to make it ipfs ping with secio
<seba-> i managed with plaintext
<seba-> wasn't easy tbh lol it's very weird documented, i was always missing a minor part
kapil____ has joined #ipfs
Pulse2496 has quit [Ping timeout: 246 seconds]
ygrek has quit [Ping timeout: 245 seconds]
Ai9zO5AP has joined #ipfs
lysoft has quit [Remote host closed the connection]
xcm has quit [Remote host closed the connection]
xcm has joined #ipfs
renich has quit [Quit: renich]
renich has joined #ipfs
zeden has quit [Quit: WeeChat 2.3]
zeden has joined #ipfs
chiui has quit [Ping timeout: 240 seconds]
ylp has quit [Quit: Leaving.]
arader has joined #ipfs
renich has quit [Quit: renich]
renich has joined #ipfs
Fessus has quit [Remote host closed the connection]
Fessus has joined #ipfs
chiui has joined #ipfs
thomasan_ has joined #ipfs
cwahlers has quit [Quit: Gone fishing]
thomasan_ has quit [Remote host closed the connection]
xcm has quit [Remote host closed the connection]
stoopkid has joined #ipfs
xcm has joined #ipfs
lidel` has joined #ipfs
lidel has quit [Ping timeout: 245 seconds]
lidel` is now known as lidel
dietricha has joined #ipfs
The_8472 has quit [Ping timeout: 252 seconds]
neuthral has joined #ipfs
The_8472 has joined #ipfs
neuthral has quit [Client Quit]
clemo has quit [Ping timeout: 246 seconds]
ikari` has quit [Ping timeout: 272 seconds]
rno has quit [Quit: ZNC 1.7.1 - https://znc.in]
warner has quit [Quit: ERC (IRC client for Emacs 26.1)]
Fessus has quit [Ping timeout: 244 seconds]
rno has joined #ipfs
The_8472 has quit [Ping timeout: 240 seconds]
ikari` has joined #ipfs
The_8472 has joined #ipfs
dsiypl4 has joined #ipfs
reit has joined #ipfs
rsynnest has joined #ipfs
moriarty has joined #ipfs
moriarty has left #ipfs [#ipfs]
vijayee has quit [Ping timeout: 268 seconds]
rsynnest has quit [Client Quit]
Technoquake has joined #ipfs
rsynnest has joined #ipfs
brittlenesss has joined #ipfs
vmx has quit [Remote host closed the connection]
zane has joined #ipfs
vijayee has joined #ipfs
hph^ has quit []
Guest47827 has joined #ipfs
random_yanek has quit [Ping timeout: 250 seconds]
Guest47827 has quit [Client Quit]
hc1^ has joined #ipfs
D_ has joined #ipfs
kesenai has joined #ipfs
chiui has quit [Ping timeout: 250 seconds]
ZaZ has joined #ipfs
pecastro has joined #ipfs
The_8472 has quit [Ping timeout: 252 seconds]
The_8472 has joined #ipfs
kesenai has quit [Ping timeout: 252 seconds]
nonono has joined #ipfs
vijayee has quit [Ping timeout: 244 seconds]
jesse22 has joined #ipfs
rendar has quit []
vijayee has joined #ipfs
ZaZ1 has joined #ipfs
ZaZ has quit [Ping timeout: 240 seconds]
vijayee has quit [Ping timeout: 240 seconds]
vijayee has joined #ipfs
florianH__ has quit [Quit: Connection closed for inactivity]
jesse22 has quit [Ping timeout: 240 seconds]
jesse22 has joined #ipfs
t4skforce has quit [Ping timeout: 244 seconds]
mowcat has quit [Remote host closed the connection]
mowcat has joined #ipfs
opal has quit [Remote host closed the connection]
opal has joined #ipfs
kapil____ has quit [Quit: Connection closed for inactivity]
mowcat has quit [Remote host closed the connection]
xcm has quit [Ping timeout: 244 seconds]
mowcat has joined #ipfs
xcm has joined #ipfs
mowcat has quit [Remote host closed the connection]
spinza has quit [Quit: Coyote finally caught up with me...]
jesse22 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mowcat has joined #ipfs
spinza has joined #ipfs
ZaZ1 has quit [Read error: Connection reset by peer]
astrofog has joined #ipfs
dimitarvp has quit [Quit: Bye]
vyzo has quit [Quit: Leaving.]
vyzo has joined #ipfs
alyoshaaa has joined #ipfs
jesse22 has joined #ipfs
hc1^ has quit []
tsrt^ has joined #ipfs
kalem1[m] has joined #ipfs
spinza has quit [Quit: Coyote finally caught up with me...]
Fessus has joined #ipfs
ebarch has quit [Ping timeout: 246 seconds]
spinza has joined #ipfs
ebarch has joined #ipfs
Fessus has quit [Remote host closed the connection]
Fessus has joined #ipfs
Fessus has quit [Remote host closed the connection]
Fessus has joined #ipfs
tsrt^ has quit []
abaiste^ has joined #ipfs
abaiste^ has quit [Max SendQ exceeded]
abaiste^ has joined #ipfs
abaiste^ has quit [Max SendQ exceeded]
abaiste^ has joined #ipfs
abaiste^ has quit [Max SendQ exceeded]
abaiste^ has joined #ipfs
abaiste^ has quit [Max SendQ exceeded]
abaiste^ has joined #ipfs
abaiste^ has quit [Max SendQ exceeded]
abaiste^ has joined #ipfs
Fessus has quit [Remote host closed the connection]
Fessus has joined #ipfs
kalem1[m] has left #ipfs ["User left"]
ToxicFrog has quit [Quit: WeeChat 2.3]
pecastro has quit [Read error: Connection reset by peer]
ToxicFrog has joined #ipfs
q6AA4FD has quit [Quit: ZNC 1.7.1 - https://znc.in]
xcm has quit [Remote host closed the connection]
xcm has joined #ipfs
dsiypl4_ has joined #ipfs
q6AA4FD has joined #ipfs
dsiypl4 has quit [Ping timeout: 246 seconds]
sammacbeth has quit [Ping timeout: 268 seconds]
sammacbeth has joined #ipfs
random_yanek has joined #ipfs
random_yanek has quit [Max SendQ exceeded]
random_yanek has joined #ipfs
woss_io has quit [Ping timeout: 246 seconds]
astrofog has quit [Ping timeout: 240 seconds]
dsiypl4_ has quit [Ping timeout: 245 seconds]
woss_io has joined #ipfs