-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Security audit #21
Comments
Could you tell us a little about how much an audit would cost if you have? maybe approximate numbers? Maybe you could put up a donation thing or on a crowdfunding website so the community could help? |
Hi @eraffaelli
I certainly expect and audit to cost several thousand dollars. If the audit were to be scoped to the most important parts, depending on what that would include and based on what I've heard from others, I think it would be reasonable to expect pricing in the range of 10.000$ - 20.000$. Back in October 2018 I reached out to three different companies, which seemed to have some experience auditing cryptographic implementations in Rust, or just experience with Rust in general. One of those got back to me with a very rough estimate for an audit of the entire codebase. I don't feel comfortable sharing the numbers however, since I don't know if they are OK with this. Even so, that was two years ago and the library has changed quite a lot since then.
I've mainly held off on this because of the lack of users. You're right in that it's a good starting point, but I feel like having an updated estimate on cost of audit would be best to get down before having an attempt at crowdfunding. Before paying for an audit, I also want to make sure the library is in a more stable state than it is now. It would make no sense to have an audit, just for the library to have several breaking changes following shortly thereafter. If I were to set up crowdfunding now, donations would probably be better spent on testing resources and development time.
Did you have any specific platforms in mind? I've most commonly seen Patreon and cryptocurrencies being used. |
Thanks your answers. |
@brycx - I'm curious to hear if you think this crate is closer to being audit-ready. My company recently funded an audit for parts of RustCrypto. We might be interested in helping out here as well... (It would also be pretty great to if your work could be incorporated into the RustCrypto project too!) |
Hi @rjwalters, Many thanks for reaching out! I do think we're much closer to audit-ready than last time I visited this thread. Mainly after the I currently have no major breaking changes planned in the near future. The only thing that might bring this upon, is when const generics are stabilized, which could lead to some changes to the newtype's API. I'm very interested in discussing a potential audit further, once you decide whether or not you're interested in this. I think with a bit more detail on scoping, it would also be easier to discuss potential incorporation to RustCrypto as well. |
@rjwalters Any news/developments on this? If you'd like to discuss things further, and not in this issue, perhaps there is some other place I can reach you? |
Could rust have an open-collective for funding security audits? I’m sure there’s lots of people who would chip in. |
@gilescope I haven't heard of Open Collective before now, but it seems as a possible platform where small donations could be received. If you haven't heard of it yet, there's also the Mozilla SOS (Secure Open Source) project, that funds audits of open-source software. Though this is typically only for very widely-used projects. Whether or not Rust itself could have an Open Collective for this, I can't say. This is something that is better brought up with official Rust team members/community-managers I guess, since a Rust-wide Open Collective would most likely have to be managed by people employed at Mozilla or similar. |
Ah - sorry I didn't mean to imply run by mozilla. I was thinking maybe conceptually 'owned' by this project: https://github.com/RustSec/advisory-db Rust analyser's open collective is run through ferrus systems' company. HeadCrab has one for the pure rust debugger. I don't think the rust foundation would be in a position to host an open collective to do this for a good while yet. |
I see your point @gilescope. I think it's a good idea, at least worthwhile to investigate further. Though, since it's not directly related to Orion, and you propose the Rust Security WG, this is a topic that should be presented there, not here. If the WG would do this, Orion would still have to be selected for funding, from a list of other projects as well. Regardless, we can still consider Open Collective if Orion itself starts accepting donations. |
Before a stable version of orion is released, an audit should be done. Preferably of the whole library, though it may end up only being partly. This depends on the financial means available.
Edit: I currently have no idea about when I would be able to afford this.
The text was updated successfully, but these errors were encountered: