Commit Graph

10 Commits (96e7e0936e52b4fa8f2115264a1b96e935349ca1)

Author SHA1 Message Date
Aydin Mercan 96e7e0936e
clippy: explicitly allow unactionable lints
* `TlsProfile` is better off sticking to the style used in standards.

* `bearssl-sys` bindings can't be annotated with safety as they are
  autogenerated and have the same safety properties with the library
  itself.
2022-09-06 22:30:14 +03:00
Aydin Mercan 14d4569001
engine/tls: basic start and replace sslio
* I believe working around `br_sslio_*` isn't worth the effort as the
  same functionality can be done manually with `*_buf` + `*_ack` which
  is used by sslio internally. This will especially be useful when
  wrapping Write/Read traits in std.

* Since both server and client contextes use `br_ssl_engine_context`,
  writing the routines for it removes a lot of future headaches. The
  engines shouldn't be used directly but will be exposed anyway for
  special cases and for having more discoverable errors.
2022-09-06 22:22:05 +03:00
Aydin Mercan fe6c9fd0ed
readme: add badge and repo clarification 2022-09-03 23:10:11 +03:00
Aydin Mercan 016f796299
ci/actions: fix typo & use the original action
* Apparently GitHub Actions doesn't work like I expected it would with
  job forks. Revert to the original.
* Fix the `actions/checkout` type.
2022-09-03 22:41:52 +03:00
Aydin Mercan 997aa62588
ci/github-actions: add audit
* For now auditing should be done daily and on each push to main.
* I have used rustsec's fork because it is more featureful and it has
  some fixes done. Hopefully it should just work.
2022-09-03 22:38:39 +03:00
Aydin Mercan 92814fbaef
cargo: remove lock from gitignore 2022-09-03 22:12:16 +03:00
Aydin Mercan eb24ca0579
git: add .gitsigners file and document how to use 2022-09-03 21:41:59 +03:00
Aydin Mercan a8dcc537b4
cargo/audit: fix configuration 2022-09-03 21:19:48 +03:00
Aydin Mercan 5aefc84f40
readme, cargo: document and categorize more
* Reduce the version of `bearssl` to 0.0.2 to increment minimally from
  the existing crate.
* Add an overview README for a high level description.
* Add crate tags and categories for easier discoverability in the
  future.
2022-09-03 17:54:21 +03:00
Aydin Mercan eca97f9f0b
initial commit
* The `bearssl-sys` crate is basically usable at this point.
* The `bearssl` crate itself needs a lot work before being usable. The
  design needs heavy iterations, considerationg and love.
2022-09-03 17:32:07 +03:00