-
@super3 It’s not me who mention you. But here is your bad crypto : github.com/Storj/core/blob/master/lib/utils.js#L97-L109
-
@super3 key and iv must be unique *per encryption*. Seems not the case here (unique per node/private key).
-
@super3 If using hmac, you need autonomous key init, here key and iv hmac reuse parameter from pbkdf2.
-
@super3 koy and iv must be really random, so salt must be random.
-
@super3 And you already have pbkdf2, no need for hmac after that.
aeris22’s Twitter Archive—№ 33,032