Commit Graph

17 Commits (388f4a3c7fb3c283ea5e99f918ff89e3d98f8626)

Author SHA1 Message Date
Didactic Drunk 49a999732e Add Crypto::Secret::Guarded
Uses mmap with guard pages

New SecurityLevel: :strong

Adjust security levels <=> secret class mapping
2022-05-22 18:12:01 -07:00
Didactic Drunk c7cd7c91eb Config: Split :key in to [:secret_key, :public_key] 2022-05-22 13:33:00 -07:00
Didactic Drunk 054503db7e Secret: check multiple uses 2022-05-20 13:02:16 -07:00
Didactic Drunk 80a47aa966 Switch Crypto::Secret from module to abstract class 2022-05-12 10:32:10 -07:00
Didactic Drunk bfbaacab4d Add Crypto::Config
Runtime configuration of which Secret class to use
Remove Secret::Key, Secret::Large
2022-05-12 10:32:10 -07:00
Didactic Drunk 973e1ecb4b Add Crypto::Secret::Key & Crypto::Secret::Large 2021-06-17 03:16:34 -07:00
Didactic Drunk b765a56073 Spec formatting 2021-06-15 15:45:52 -07:00
Didactic Drunk 0aa93acab0 Remove old spec file 2021-06-15 15:42:53 -07:00
Didactic Drunk 695bad8347 Add default dup implementation 2021-06-15 15:42:01 -07:00
Didactic Drunk 00274735c3 Add Secret.move_from & Secret.copy_from 2021-06-15 12:06:33 -07:00
Didactic Drunk b738cd1e0a Fix Secret.bytesize delegates 2021-06-14 16:54:29 -07:00
Didactic Drunk 4a32468d7d Add ClassMethods 2021-06-14 16:50:32 -07:00
Didactic Drunk 472ed1fc37 Secret: Avoid leaking keys in logs 2021-06-14 11:15:48 -07:00
Didactic Drunk 46f53c8e89 Secret interface changes 2021-06-13 19:00:27 -07:00
Didactic Drunk f6737a766f Crypto::Secret Timing safe == 2021-06-13 12:52:05 -07:00
Didactic Drunk 39fe098f50 Rename crypto_secret to crypto-secret 2021-06-12 19:57:37 -07:00
Didactic Drunk eabf799e51 Initial code 2021-06-12 19:57:31 -07:00