[haiku-development] Re: From where should I start with Crypto Kit?

  • From: Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>
  • To: Lee Mon <strongleemon@xxxxxxxxxx>
  • Date: Sun, 10 Mar 2019 08:24:05 +0100

On Sun, Mar 10, 2019 at 01:45:13AM +0300, Lee Mon wrote:

Hello, just recently I started to work with Haiku, so, I don't completely
understand what I should do.
I think I should create some document with a decsription (design) of a library
Crypto Kit. Are there any good existing examples?Also, I probably should think
about implementating crypto support in a pass keeper. And about how to test 
all
those things.
And another my task right now, as I can see, is to describe how to set up a
developer's environment with IDE, ssh and qemu.
Any suggestions?

Hi,

As part of the Outreachy process you need to submit an "application",
this is a document listing the work that needs to be done.

It should include:
- Overview of the existing pieces: Crypto Kit itself, BKeyStore,
  arc4random, etc.
- What needs to be changed: entropy sources for arc4random, secure
  password storage in BKeyStore, APIs to add to the Crypto Kit, ...
- What needs to be added (for example a central GUI to manage all
  passwords stored in BKeyStore)
- Rough list of APIs (just class names is a good start, maybe one or two
  method declarations) for the Crypto Kit (we have hashing, but what
  about signing, encryption, ...)
- Test means (unit tests, something else in mind?)
- Future possibilities opened by this all (password manager for the web
  browser comes to mind, but likely there are other uses for the Crypto
  Kit than just storing passwords)

A document like this one should show your good understanding of the
codebase, show in which direction you want to develop it, and how it
fits with the other parts of the OS.

As for the workflow (IDE/qemu/ssh), spend some time setting things up so
you can work efficiently, but I'd say this is outside the scope of the
project. If you find some key information is missing or out of date on
the website, you can edit it.

-- 
Adrien.

Other related posts: