ssbc / ssb-keys

keyfile operations for ssb
36 stars 26 forks source link

Add test for using id in recps #92

Closed arj03 closed 3 years ago

arj03 commented 3 years ago

ssb-private1 and patchwork does it like that.

staltz commented 3 years ago

Reviewed. Thanks!

staltz commented 3 years ago

Oh, now I see why it even works: u.toBuffer does the substr:

https://github.com/ssb-js/ssb-keys/blob/98569aa430e344b3ed144fcebf5d2755f7355bf6/util.js#L43

arj03 commented 3 years ago

Sneakily hidden :~|