0:00 AM
sethvincent joined the channel
0:07 AM
boogs has quit
0:08 AM
ogd
0:08 AM
robstory_ has quit
0:09 AM
mafintosh
ogd: haha that is great
0:10 AM
ogd: whats the easiest way to start using minilock?
0:10 AM
generate keys etc
0:10 AM
ogd
mafintosh: i have only tried minilock-cli on npm
0:10 AM
mafintosh
ah cool
0:10 AM
ogd
mafintosh: it is ok, not as user friendly as i hoped
0:10 AM
mafintosh: i think they tell to to use --save but its not documented, but what it does is create a ~/.mlck folder with a json file containing your public key
0:11 AM
mafintosh: and you have to create a 100 bits of entropy or longer passphrase
0:11 AM
mafintosh: you could also choose to do a private key instead
0:11 AM
mafintosh: once you have a ~/.mlck profile you can just type `emojilock` and it prints your emoji id
0:11 AM
mafintosh
ogd: nice
0:11 AM
setting it up now
0:12 AM
ogd
0:16 AM
mafintosh: send me your emojilock
0:16 AM
mafintosh
ogd: β£οΈπ·π₯πΆππΌπβΌοΈπ‘ππβ¦οΈπ°π±π‘ππππ²βͺοΈβοΈππ»ππΈππ¦π ππβοΈπ
0:16 AM
ogd
whoa cool two tubs in a row
0:17 AM
mafintosh
one of the tubs has something in it
0:18 AM
ogd
hahahah
0:19 AM
the last 10 or so characters of yours are a story about someone who got a teddy bear for christmas, got drunk and read a book in their aparement and then took a shower only to afterwards find a sad letter in the mail
0:19 AM
also their apartment has a carousel in it
0:21 AM
mafintosh
they were also in the hospital for a while after eating too much candy and it made them sad
0:22 AM
ogd
mafintosh: emojilock 1.1.0 has a `emojilock decode <emoji>` api
0:22 AM
mafintosh: haha
0:26 AM
0:26 AM
mafintosh: base64 minilock encrypted message
0:27 AM
i should make emojilock able to encrypt into emoji too
0:28 AM
mafintosh
ogd: yes!!
0:28 AM
ogd
mafintosh: did it work?
0:28 AM
mafintosh
gave me corrupted file
0:28 AM
ogd it looks like hex and not base64?
0:28 AM
ogd
mafintosh: oops sorry
0:28 AM
mafintosh: the original file is like half ascii half binary
0:29 AM
mafintosh: i think minilock-cli has a weird format it saves
0:32 AM
mafint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VaBL1WJE4+BTq1BbosRwP0tU5hzQh4iXIAfXvpZtLUScLUcv3XUZIw+aLyVx0Mry5x4B6Z3M9y5I7P5
0:35 AM
5ktScdZG6u/NNovJ63IrLrOh64/OPfNns2I/x6sYlpt3zWIfsm+7nfRYygrLTh9vWRyNDXHhorszmLn1Zx/Yi82qdl2J+aun2Duy/mFlrxdr0yy9YJRSGClfoniNufSSilCWtfpY51Az0daw+XsQrg4AAABR55MyZwpSX0nDFeX79MDD4nuOQ130uvA6yM8M0H0AAAAA4x0yiyiCS0SxnMQ6Qo8Wiw==
0:35 AM
dang
0:35 AM
0:35 AM
my reply (base64)
0:36 AM
ogd
mafintosh: WORKED!
0:37 AM
mafintosh: also just published emojilock 2.0.0 which upgrades base-emoji 2.0.0 which made a breaking change to the emoji mapping to improve it
0:37 AM
mafintosh
ogd: so i should update my minilock emoji id?
0:38 AM
ogd
mafintosh: yea sorry
0:38 AM
mafintosh
np
0:38 AM
cutting edge emoji
0:38 AM
ogd
hehe
0:38 AM
0:39 AM
mafintosh
ogd: mine is: β£οΈπ·π₯πΆππΌπβΌοΈπ‘ππβ¦οΈπ°π±π‘ππππ²βͺοΈβοΈππ»ππΈππ¦π ππβοΈπ
0:39 AM
ogd
mafintosh: looks like the old one
0:39 AM
mafintosh
hmm yea
0:39 AM
ah whoops
0:39 AM
ogd
kinda cool i can remember your hash like that
0:40 AM
i feel like if it was a hex string i wouldnt have remembered
0:40 AM
mafintosh
ogd: ππ²πππ·ππ
π¦ππ©πππ¬π±βοΈπ πβ‘οΈπππ΄π£π΅ππ§ππππ‘πβ‘οΈβ‘οΈ
0:40 AM
ogd
nice
0:40 AM
the snake eating the mouse eating the donut
0:41 AM
mafintosh
haha
0:42 AM
ogd
we should use this as the default transport for dat
0:42 AM
mandric has quit
0:42 AM
so if anyone ever packet sniffs it they would be like WTF
0:43 AM
mafintosh
ogds: yours has a kid who lost his balloon because of gambling
0:43 AM
ogd
ahaha
0:43 AM
pfraze: look what youve done
0:43 AM
pfraze
ogd: haha love it
0:44 AM
yeah we clearly need tcpmoji
0:44 AM
ogd
the mojinet
0:44 AM
world wide moji
0:44 AM
mafintosh
pfraze: emoji duplex stream!
0:44 AM
so it works over all the transprots
0:44 AM
ogd
emojipipe
0:45 AM
now im just trying to memorize my minilock passphrase
0:53 AM
mafintosh: maybe all emojilocks should start with the lock emoji
0:53 AM
π
0:55 AM
0:57 AM
with rel='emojilock' so its parseable
1:13 AM
dat-git-bot
1:13 AM
mandric joined the channel
1:14 AM
robstory joined the channel
1:17 AM
mafintosh
ogd: nice - i'll host mine online as well
1:19 AM
i should go to bed ...
1:24 AM
mandric has quit
1:37 AM
robstory has quit
1:42 AM
robstory joined the channel
2:11 AM
palewire has quit
2:19 AM
mandric joined the channel
2:30 AM
robstory has quit
2:51 AM
shama has quit
2:56 AM
robstory joined the channel
4:01 AM
tilgovi has quit
4:57 AM
robstory has quit
5:52 AM
tilgovi joined the channel
6:00 AM
floppy joined the channel
6:33 AM
stwe joined the channel
6:36 AM
AndreasMadsen joined the channel
6:38 AM
AndreasMadsen has quit
6:40 AM
xAt is now known as xat-__
6:42 AM
pfraze has quit
6:43 AM
stwe has quit
6:45 AM
stwe joined the channel
6:47 AM
stwe has quit
6:48 AM
xat-__ is now known as xAt
6:53 AM
floppy has quit
7:20 AM
xAt is now known as xat-__
7:31 AM
floppy joined the channel
7:42 AM
stwe joined the channel
8:51 AM
vespakoen joined the channel
8:59 AM
floppy has quit
9:35 AM
uhhyeahbret has quit
9:35 AM
uhhyeahbret joined the channel
10:24 AM
18WAACPJC has quit
10:25 AM
18VAADLXT joined the channel
10:46 AM
vespakoen has quit
10:47 AM
10:47 AM
this keeps me from including sodium as a dep (its native so would like to avoid that for now)
10:47 AM
and let you use any crypto lib you want
10:48 AM
substack
what about an async version?
10:49 AM
this way these operations can be fed into a keyring
10:49 AM
I mean, only the async version, not an async version in addition to a sync version
10:50 AM
I like keeping the implementation not tied down to a particular implementation (but encouraging people to use sodium in the docs is good)
10:50 AM
mafintosh
substack: good point. i'll update it
10:50 AM
substack
*keeping the crypto not tied down
10:51 AM
mafintosh
substack: and then nodes will replicate with a .publicKey and .signature property
10:52 AM
substack
sounds good
10:52 AM
for other kinds of non-ecc crypto like rsa the publicKey field could be the hash of the public key
10:53 AM
and if verify() is async, that can be looked up from a local store!
10:53 AM
mafintosh
substack: yea. its just gonna be whatever you pass in the constructor. super simple
10:54 AM
substack
signed feeds will be really useful for sensor data
10:54 AM
mafintosh
substack: different question. do you represent hashes as buffers or hex strings usually?
10:54 AM
substack
some people working on that in oakland are planning to use dat for some sensor applications
10:55 AM
mafintosh
Oh sweet!
10:55 AM
substack
mafintosh: depends on the context
10:55 AM
if there's already binary data, I go for buffers, but if there isn't, I go for hex strings
10:56 AM
mafintosh
substack: fx in something like hyperlog would you represent the node key as a buffer? The value is already binary
10:57 AM
In dat we could add a user dataset where you could add user metadata for a publickey as well
10:58 AM
substack
i would probably keep it as a buffer then
10:58 AM
but I don't think it matters too much, it's easy to .toString('hex')
10:59 AM
mafintosh
yea (just bikeshedding)
10:59 AM
vespakoen joined the channel
11:01 AM
11:02 AM
substack putting together some final starter repos for the upcoming installment of cyber wizard
11:04 AM
substack
is the signature cb(err) or cb(err, valid)?
11:05 AM
mafintosh
substack: updated
11:06 AM
substack
looks good!
11:07 AM
mafintosh
great - i like it as well