#dat

/

      • sethvincent joined the channel
      • boogs has quit
      • ogd
        mafintosh: hehehe check out https://www.npmjs.com/package/emojilock
      • robstory_ has quit
      • mafintosh
        ogd: haha that is great
      • ogd: whats the easiest way to start using minilock?
      • generate keys etc
      • ogd
        mafintosh: i have only tried minilock-cli on npm
      • mafintosh
        ah cool
      • ogd
        mafintosh: it is ok, not as user friendly as i hoped
      • 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
      • mafintosh: and you have to create a 100 bits of entropy or longer passphrase
      • mafintosh: you could also choose to do a private key instead
      • mafintosh: once you have a ~/.mlck profile you can just type `emojilock` and it prints your emoji id
      • mafintosh
        ogd: nice
      • setting it up now
      • ogd
      • mafintosh: send me your emojilock
      • mafintosh
        ogd: β™£οΈπŸ“·πŸ’₯πŸ‘ΆπŸ˜πŸ‘ΌπŸ“€β€ΌοΈπŸ’‘πŸŒ‰πŸ•œβ™¦οΈπŸ‘°πŸŽ±πŸ‘πŸš‘πŸ•™πŸ˜ŸπŸš²β›ͺοΈβ†—οΈπŸšŒπŸ»πŸŽ„πŸΈπŸ“˜πŸ¦πŸŽ πŸ›€πŸ›βœ‰οΈπŸ˜Ÿ
      • ogd
        whoa cool two tubs in a row
      • mafintosh
        one of the tubs has something in it
      • ogd
        hahahah
      • 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
      • also their apartment has a carousel in it
      • mafintosh
        they were also in the hospital for a while after eating too much candy and it made them sad
      • ogd
        mafintosh: emojilock 1.1.0 has a `emojilock decode <emoji>` api
      • mafintosh: haha
      • mafintosh: base64 minilock encrypted message
      • i should make emojilock able to encrypt into emoji too
      • mafintosh
        ogd: yes!!
      • ogd
        mafintosh: did it work?
      • mafintosh
        gave me corrupted file
      • ogd it looks like hex and not base64?
      • ogd
        mafintosh: oops sorry
      • mafintosh: the original file is like half ascii half binary
      • mafintosh: i think minilock-cli has a weird format it saves
      • mafintos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bosRwP0tU5hzQh4iXIAfXvpZtLUScLUcv3XUZIw+aLyVx0Mry5x4B6Z3M9y5I7P5
      • 5ktScdZG6u/NNovJ63IrLrOh64/OPfNns2I/x6sYlpt3zWIfsm+7nfRYygrLTh9vWRyNDXHhorszmLn1Zx/Yi82qdl2J+aun2Duy/mFlrxdr0yy9YJRSGClfoniNufSSilCWtfpY51Az0daw+XsQrg4AAABR55MyZwpSX0nDFeX79MDD4nuOQ130uvA6yM8M0H0AAAAA4x0yiyiCS0SxnMQ6Qo8Wiw==
      • dang
      • my reply (base64)
      • ogd
        mafintosh: WORKED!
      • 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
      • mafintosh
        ogd: so i should update my minilock emoji id?
      • ogd
        mafintosh: yea sorry
      • mafintosh
        np
      • cutting edge emoji
      • ogd
        hehe
      • mafintosh
        ogd: mine is: β™£οΈπŸ“·πŸ’₯πŸ‘ΆπŸ˜πŸ‘ΌπŸ“€β€ΌοΈπŸ’‘πŸŒ‰πŸ•œβ™¦οΈπŸ‘°πŸŽ±πŸ‘πŸš‘πŸ•™πŸ˜ŸπŸš²β›ͺοΈβ†—οΈπŸšŒπŸ»πŸŽ„πŸΈπŸ“˜πŸ¦πŸŽ πŸ›€πŸ›βœ‰οΈπŸ˜Ÿ
      • ogd
        mafintosh: looks like the old one
      • mafintosh
        hmm yea
      • ah whoops
      • ogd
        kinda cool i can remember your hash like that
      • i feel like if it was a hex string i wouldnt have remembered
      • mafintosh
        ogd: πŸπŸŽ²πŸ’ƒπŸ—πŸ·πŸŽπŸ‘…πŸ‘¦πŸŒπŸ©πŸπŸπŸ¬πŸŽ±βœ‚οΈπŸ˜ πŸ“βž‘οΈπŸ’πŸ’‹πŸš΄πŸ‘£πŸŒ΅πŸ”‘πŸ§πŸŽŠπŸžπŸπŸ’‘πŸšŒβš‘οΈβž‘οΈ
      • ogd
        nice
      • the snake eating the mouse eating the donut
      • mafintosh
        haha
      • ogd
        we should use this as the default transport for dat
      • mandric has quit
      • so if anyone ever packet sniffs it they would be like WTF
      • mafintosh
        ogds: yours has a kid who lost his balloon because of gambling
      • ogd
        ahaha
      • pfraze: look what youve done
      • pfraze
        ogd: haha love it
      • yeah we clearly need tcpmoji
      • ogd
        the mojinet
      • world wide moji
      • mafintosh
        pfraze: emoji duplex stream!
      • so it works over all the transprots
      • ogd
        emojipipe
      • now im just trying to memorize my minilock passphrase
      • mafintosh: maybe all emojilocks should start with the lock emoji
      • πŸ”’
      • cool i put my emojilock id at the top of my blog :) http://maxogden.com/
      • with rel='emojilock' so its parseable
      • dat-git-bot
        [dat] ArtskydJ opened pull request #363: Fixed typo (master...patch-1) http://git.io/vYxHo
      • mandric joined the channel
      • robstory joined the channel
      • mafintosh
        ogd: nice - i'll host mine online as well
      • i should go to bed ...
      • mandric has quit
      • robstory has quit
      • robstory joined the channel
      • palewire has quit
      • mandric joined the channel
      • robstory has quit
      • shama has quit
      • robstory joined the channel
      • tilgovi has quit
      • robstory has quit
      • tilgovi joined the channel
      • floppy joined the channel
      • stwe joined the channel
      • AndreasMadsen joined the channel
      • AndreasMadsen has quit
      • xAt is now known as xat-__
      • pfraze has quit
      • stwe has quit
      • stwe joined the channel
      • stwe has quit
      • xat-__ is now known as xAt
      • floppy has quit
      • xAt is now known as xat-__
      • floppy joined the channel
      • stwe joined the channel
      • vespakoen joined the channel
      • floppy has quit
      • uhhyeahbret has quit
      • uhhyeahbret joined the channel
      • 18WAACPJC has quit
      • 18VAADLXT joined the channel
      • vespakoen has quit
      • substack: what do you think of this interface for signing in hyperlog, https://gist.github.com/mafintosh/3829f094e954b... ?
      • this keeps me from including sodium as a dep (its native so would like to avoid that for now)
      • and let you use any crypto lib you want
      • substack
        what about an async version?
      • this way these operations can be fed into a keyring
      • I mean, only the async version, not an async version in addition to a sync version
      • I like keeping the implementation not tied down to a particular implementation (but encouraging people to use sodium in the docs is good)
      • mafintosh
        substack: good point. i'll update it
      • substack
        *keeping the crypto not tied down
      • mafintosh
        substack: and then nodes will replicate with a .publicKey and .signature property
      • substack
        sounds good
      • for other kinds of non-ecc crypto like rsa the publicKey field could be the hash of the public key
      • and if verify() is async, that can be looked up from a local store!
      • mafintosh
        substack: yea. its just gonna be whatever you pass in the constructor. super simple
      • substack
        signed feeds will be really useful for sensor data
      • mafintosh
        substack: different question. do you represent hashes as buffers or hex strings usually?
      • substack
        some people working on that in oakland are planning to use dat for some sensor applications
      • mafintosh
        Oh sweet!
      • substack
        mafintosh: depends on the context
      • if there's already binary data, I go for buffers, but if there isn't, I go for hex strings
      • mafintosh
        substack: fx in something like hyperlog would you represent the node key as a buffer? The value is already binary
      • In dat we could add a user dataset where you could add user metadata for a publickey as well
      • substack
        i would probably keep it as a buffer then
      • but I don't think it matters too much, it's easy to .toString('hex')
      • mafintosh
        yea (just bikeshedding)
      • vespakoen joined the channel
      • substack putting together some final starter repos for the upcoming installment of cyber wizard
      • substack
        is the signature cb(err) or cb(err, valid)?
      • mafintosh
        substack: updated
      • substack
        looks good!
      • mafintosh
        great - i like it as well