Closed
Description
This is maybe a little premature, since nodejs/node#21766 is still being discussed, but I think as a group we should discuss:
- What are the goals of the
crypto
module? Do we imagine that it's only used by people who know what they're doing (i.e., cryptographers)? Should we strive to expose all OpenSSL functionality? Should the interface we expose match as closely as possible with OpenSSL? - Supposing
crypto
is in fact intended to only be used by the very small percentage of people using Node that are very comfortable thinking about cryptography, should we create another crypto module that's intended for the average Node developer to use (saycrypto-simple
)? If so, we would need to propose how to build it (perhaps getting cryptographers involved to build it on top of the existingcrypto
module, or using a more modern crypto library with an interface that is likely to be used correctly by average developers). - Should this group create an additional process to review changes to APIs that are security related? It would've been much better to have the discussion in Password Hashing API node#21766 before crypto: add scrypt() and scryptSync() methods node#20816 was merged. This need may be mitigated by whatever comes from discussing points 1 and 2, but it is still something to consider.
edit: Based on the results of our discussions, we may want to propose significant changes to documentation to make sure that our users' expectations about the use of crypto
match ours
Metadata
Assignees
Labels
No labels
Activity