aschmahmann changed the topic of #ipfs to: Heads Up: To talk, you need to register your nick! Announcements: go-ipfs 0.7.0 and js-ipfs 0.52.3 are out! Get them from dist.ipfs.io and npm respectively! | Also: #libp2p #ipfs-cluster #filecoin #ipfs-dev | IPFS: https://github.com/ipfs/ipfs | Logs: https://view.matrix.org/room/!yhqiEdqNjyPbxtUjzm:matrix.org/ | Forums: https://discuss.ipfs.io | Code of Conduct: https://git.io/vVBS0
ipfs-stackbot has quit [Remote host closed the connection]
ipfs-stackbot has joined #ipfs
}ls{ has quit [Ping timeout: 240 seconds]
freecoupo has joined #ipfs
hsn has quit [Ping timeout: 240 seconds]
spectie has joined #ipfs
freecoupo has quit [K-Lined]
RingtailedFox has joined #ipfs
jcea has quit [Ping timeout: 250 seconds]
}ls{ has joined #ipfs
cp- has quit [Quit: Disappeared in a puff of smoke]
cp- has joined #ipfs
bigmyx has joined #ipfs
mowcat has quit [Remote host closed the connection]
bigmyx has quit [Remote host closed the connection]
cp- has quit [Quit: Disappeared in a puff of smoke]
arcatech has joined #ipfs
cp- has joined #ipfs
arcatech has quit [Client Quit]
}ls{ has quit [Ping timeout: 260 seconds]
<paranoid[m]1>
Good question, but it's the same as asking, what's the largest file you can hash? Practically just limited by filesystem or available disk space?
}ls{ has joined #ipfs
arcatech has joined #ipfs
}ls{ has quit [Ping timeout: 240 seconds]
arcatech has quit [Ping timeout: 260 seconds]
RingtailedFox has quit [Read error: Connection reset by peer]
}ls{ has joined #ipfs
jrt has quit [Killed (tolkien.freenode.net (Nickname regained by services))]
jrt has joined #ipfs
arcatech has joined #ipfs
}ls{ has quit [Ping timeout: 240 seconds]
arcatech has quit [Ping timeout: 260 seconds]
}ls{ has joined #ipfs
RingtailedFox has joined #ipfs
arcatech has joined #ipfs
dreamdust[m] has joined #ipfs
<dreamdust[m]>
Given an IPNS hash, is there an API method to lookup the corresponding public key?
RingtailedFox has quit [Read error: Connection reset by peer]
perguth8 has quit [Quit: perguth8]
perguth8 has joined #ipfs
drathir_tor has quit [Ping timeout: 240 seconds]
RingtailedFox has joined #ipfs
arcatech has quit [Ping timeout: 260 seconds]
drathir_tor has joined #ipfs
WildFox has joined #ipfs
dpl_ has quit [Ping timeout: 240 seconds]
daMaestro has quit [Quit: Leaving]
Meli has quit [Ping timeout: 265 seconds]
Meli has joined #ipfs
opa has quit [Ping timeout: 260 seconds]
snowflake has quit [Ping timeout: 240 seconds]
opa7331 has joined #ipfs
joocain2 has quit [Ping timeout: 240 seconds]
tryte has quit [Ping timeout: 240 seconds]
snowflake has joined #ipfs
sknebel has quit [Ping timeout: 246 seconds]
joocain2 has joined #ipfs
sknebel has joined #ipfs
arcatech has joined #ipfs
jfontan has quit [Ping timeout: 245 seconds]
jfontan has joined #ipfs
RingtailedFox has quit [Read error: Connection reset by peer]
RingtailedFox has joined #ipfs
mindCrime has quit [Ping timeout: 252 seconds]
arcatech has quit [Quit: Be back later.]
zeden has quit [Quit: WeeChat 3.0.1]
}ls{ has quit [Quit: real life interrupt]
gimzmoe has joined #ipfs
GvP has quit [Read error: Connection reset by peer]
GvP has joined #ipfs
cymatics has joined #ipfs
fling has left #ipfs [#ipfs]
joocain2 has quit [Remote host closed the connection]
joocain2 has joined #ipfs
justanotherdude has joined #ipfs
cymatics has quit [Remote host closed the connection]
cymatics has joined #ipfs
cymatics has quit [Remote host closed the connection]
cymatics has joined #ipfs
ilyaigpetrov has joined #ipfs
themaxdavitt has quit [Read error: Connection reset by peer]
Guest21477 has quit [Ping timeout: 250 seconds]
Guest17914___ has quit [Read error: Connection reset by peer]
Kubuxu has quit [Read error: Connection reset by peer]
savantgarde has quit [Read error: Connection reset by peer]
savantgarde has joined #ipfs
Guest21477 has joined #ipfs
Guest17914___ has joined #ipfs
Kubuxu has joined #ipfs
themaxdavitt has joined #ipfs
DrRenardScD[m] has joined #ipfs
kanej[m]1 has joined #ipfs
nrh^ has quit []
<McSinyx[m]>
paranoid, one can hash without adding/pinning, but I'm don't have the answer to the original question
cymatics has quit [Ping timeout: 260 seconds]
cymatics has joined #ipfs
hsn has joined #ipfs
nsaunders has quit [Ping timeout: 240 seconds]
ylp has joined #ipfs
ninekeysdown8 has joined #ipfs
ninekeysdown has quit [Ping timeout: 268 seconds]
ninekeysdown8 is now known as ninekeysdown
bengates has joined #ipfs
bengates has quit [Remote host closed the connection]
bengates has joined #ipfs
bengates has quit [Read error: Connection reset by peer]
curiousfellow[m] has quit [Quit: Idle for 30+ days]
Jakub[m] has quit [Quit: Idle for 30+ days]
nashley[m] has quit [Quit: Idle for 30+ days]
jliebert[m] has quit [Quit: Idle for 30+ days]
PrivacyGoods[m] has joined #ipfs
SirPHOENiX1 has quit [Ping timeout: 240 seconds]
SirPHOENiX1 has joined #ipfs
ib07 has joined #ipfs
RingtailedFox has quit [Read error: Connection reset by peer]
RingtailedFox has joined #ipfs
RingtailedFox has quit [Read error: Connection reset by peer]
RingtailedFox has joined #ipfs
RingtailedFox has quit [Read error: Connection reset by peer]
RingtailedFox has joined #ipfs
<RubenKelevra[m]>
<dreamdust[m] "Given an IPNS hash, is there an "> well, the IPNS is the public key ... at least for ed25519 keys (which is the default on 0.8)
utp has joined #ipfs
bsdman_ has quit [Ping timeout: 240 seconds]
bsdman_ has joined #ipfs
ChrisLane has quit [Ping timeout: 268 seconds]
DrRenardScD[m] has left #ipfs ["User left"]
<dreamdust[m]>
<RubenKelevra[m] "well, the IPNS is the public key"> Hmm.. the docs say an IPNS CID is the hash of the public key. Are you're saying that's incorrect and it's the public key?
<dreamdust[m]>
So I'm wondering if it's possible via the API to get the public key for an IPNS address. It looks like the answer is no.
ChrisLane has joined #ipfs
<mars2021>
dreamdust[m]: ipfs resolve -r no?
<dreamdust[m]>
<mars2021 "dreamdust: ipfs resolve -r no?"> That resolves an IPNS CID to an IPFS CID, not the public key for the IPNS hash. The IPNS CID is a hash of a public key.
dpl_ has quit [Ping timeout: 240 seconds]
<mars2021>
Hm... indeed. I'd imagine that is a good thing too. You need the key first.
baojg has quit [Remote host closed the connection]
baojg has joined #ipfs
xav43 has joined #ipfs
xav43 has left #ipfs [#ipfs]
xavier99 has joined #ipfs
xavier99 has left #ipfs [#ipfs]
Guest26555 has quit [Ping timeout: 252 seconds]
hsn has quit [Remote host closed the connection]
hsn has joined #ipfs
CGretski has joined #ipfs
jcea has joined #ipfs
CCR5-D32 has joined #ipfs
CGretski has quit [Remote host closed the connection]
Nact has joined #ipfs
RingtailedFox has quit [Read error: Connection reset by peer]
royal_screwup21 has quit [Quit: Connection closed]
}ls{ has joined #ipfs
arcatech has quit [Quit: Be back later.]
graffen has joined #ipfs
dreamdust[m] has left #ipfs ["User left"]
koo55 has quit [Ping timeout: 246 seconds]
UnionPivo has joined #ipfs
UnionP has joined #ipfs
baojg has quit [Remote host closed the connection]
baojg has joined #ipfs
UnionPivo has quit [Ping timeout: 240 seconds]
ylp has quit [Quit: Leaving.]
arcatech has joined #ipfs
howard has joined #ipfs
howard has quit [Client Quit]
<Discordian[m]>
<mars2021 "Hm... indeed. I'd imagine that "> Yeah, I'm wondering how that's retrieved prior to 0.8, and additionally if IPNS CID generation is different in 0.7 and earlier, and why/how. Because if the records are signed, then it makes sense to need the public key to verify the signature. I was thinking about this the other day.
<Discordian[m]>
I genuinely love protobufs, so easy to read and use.
<aschmahmann>
TLDR: IPNS identifiers are represented as libp2p peerIDs. libp2p peerIDs are either the SHA256 of the public key (wrapped in a protobuf) or if the public key is small enough it is not hashed at all.
<aschmahmann>
When the key is hashed the full public key can be included in the IPNS record itself. Historical note: IIRC it used to be that we'd put the public key in the DHT too (in a separate namespace since it needs different validation), but that resulted in an extra network lookup that didn't seem like it was really necessary so for a long time now they've been bundled together.
<aschmahmann>
> I genuinely love protobufs, so easy to read and use.
<aschmahmann>
The syntax of the proto files is nice and the ability to add optional fields is nice too. I'm not a fan of the non-deterministic serialization though makes life complicated sometimes when you're trying to work with hashed (and hashed + signed) data
<aschmahmann>
The syntax of the proto files is nice and the ability to add optional fields is nice too. I'm not a fan of the non-deterministic serialization though, it makes life complicated sometimes when you're trying to work with hashed (and hashed + signed) data
<aschmahmann>
* > I genuinely love protobufs, so easy to read and use.
RingtailedFox has quit [Read error: Connection reset by peer]
<Discordian[m]>
Ah that makes sense, I haven't used them in a deterministic context yet 😛. It's a shame they're not tbh, considering fields are assigned values, so I figured ordering wouldn't be so bad
<Discordian[m]>
Thanks for that breakdown! I'm going to include it in next week's question breakdown, and examine the IPNS docs to see if an update to them could help reduce confusion like deramdust experienced.
<Discordian[m]>
* Thanks for that breakdown! I'm going to include it in next week's question breakdown, and examine the IPNS docs to see if an update to them could help reduce confusion like dreamdust experienced.
RingtailedFox has joined #ipfs
zaibon[m]1 has quit [Quit: Idle for 30+ days]
ram19890 has joined #ipfs
baojg has quit [Remote host closed the connection]
<Discordian[m]>
It cannot, no. However if you save the repo to a directory, it can sync that, and ignore the `.git` stuff
<srid>
ipfs-sync ... is interesting. But why not create "ipfs-mount" that mounts MFS on disk, and when you mutate the files it is re-added to IPFS?
<Discordian[m]>
I thought about that after, I suppose that could be done too. I literally just wanted a simple way to sync an IPS key, so I made ipfs-sync.
<Discordian[m]>
* I thought about that after, I suppose that could be done too. I literally just wanted a simple way to sync an IPNS key, so I made ipfs-sync.
<Discordian[m]>
Maybe a mount could be included later.
baojg has quit [Remote host closed the connection]
baojg has joined #ipfs
arcatech has quit [Quit: Be back later.]
arcatech has joined #ipfs
gimzmoe has joined #ipfs
le0taku has joined #ipfs
leotaku has quit [Ping timeout: 265 seconds]
mowcat has quit [Remote host closed the connection]
CGretski has joined #ipfs
CGretski has quit [Client Quit]
<CSDUMMI[m]>
There may be a need for a whole suite of user friendly console utilities around IPFS.
snowflake has quit [Ping timeout: 240 seconds]
ib07 has quit [Ping timeout: 240 seconds]
<CSDUMMI[m]>
For example, a "safe" ipfs add, that checks the files prior to adding them for private keys, passwords and access tokens.
baojg has quit [Remote host closed the connection]
baojg has joined #ipfs
IndianMLguy has joined #ipfs
distribu1 has joined #ipfs
distributedGuru has quit [Ping timeout: 265 seconds]
<mars2021>
Is there a way to template configs or am I completely nuts? Running into roadblocks with everything from not being able to pull the repos private key through the api directly, to ... unexpected results while trying to even initialize the repo. I would have thought for example passing a config lacking an identity to daemon --init --init-config, would infact generate a new key but it doesn't.
UnionP has quit [Remote host closed the connection]
UnionPivo has joined #ipfs
kn0rki has quit [Quit: Leaving]
IndianMLguy has quit [Quit: Connection closed]
justanotherdude has quit [Quit: RAGEQUIT]
<Brad[m]>
We are all nuts buddy, all good.
justanotherdude has joined #ipfs
<swedneck>
<CSDUMMI[m] "For example, a "safe" ipfs add, "> that would be best accomplished with a separate tool from ipfs entirely, like `check-file $file && ipfs add $file`