2 ms·
> - immature implementations, I'll just leave this here: https://github.com/nitram509/macaroons.js/blob/master/src/main/ts/CryptoTools.ts#L61-L63 https://github
by oefrha 7y ago
> - immature implementations, I'll just leave this here: https://github.com/nitram509/macaroons.js/blob/master/src/main/ts/CryptoTools.ts#L61-L63 https://github.com/nitram509/macaroons.js/blob/master/src/ma...
Wow. In case the master changes, here’s the highlighted code:
/* XXX get some random bytes instead */
var enc_plaintext:Buffer = new Buffer(MacaroonsConstants.MACAROON_HASH_BYTES);
enc_plaintext.fill(0);
This library’s README should have an all cap “toy project, don’t use” up top.
- Ficirdly 7y ago> In case the master changes That's unlikely (last commit in the project is dated Apr 22, 2017). And it's another problem with "the Macaroons ecosystem". After initial hype people discover real world issues with Macaroons and abandon their pet projects.