oo7-rb 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/CHANGELOG.md +46 -0
- data/Cargo.lock +1390 -0
- data/Cargo.toml +7 -0
- data/LICENSE +200 -0
- data/NOTICE +43 -0
- data/README.md +92 -0
- data/ext/oo7/Cargo.toml +19 -0
- data/ext/oo7/extconf.rb +11 -0
- data/ext/oo7/src/lib.rs +254 -0
- data/lib/oo7/version.rb +8 -0
- data/lib/oo7/version.rb.erb +8 -0
- data/lib/oo7-rb.rb +13 -0
- data/lib/oo7.rb +23 -0
- metadata +114 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: ef2fd80ab2a8f10c5d088bbbec07818d02de3f10052481948aaa696ea06edeb7
|
|
4
|
+
data.tar.gz: cec2a14c4480f65cc60c153bc13288c37f18cb2f465276979acbd1ca26ef86dd
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 333db89d32d32c9bce18e3ef5d44bfa84473849005c7b972b63f3220de0af49688aaf433d2c9f2762b61e5db5da696ce55f60472b57e2c559a3237a80027a92a
|
|
7
|
+
data.tar.gz: 8c4a678e0c38fe38e056aa456855b1066a2225c276cdb2d9e5165edffb197078be52dc112e67fb94e35842d2bb523758f098907a63c5e817fcdb798f20349270
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project are documented in this file.
|
|
4
|
+
|
|
5
|
+
The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/).
|
|
7
|
+
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
## [1.0.0] - 2026-11-02
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- `Oo7::Keyring`, the collection: `new`, `unlock`, `lock`, `locked?`, `items`,
|
|
15
|
+
`search(attributes)`, `create(label, attributes, secret, replace)` and
|
|
16
|
+
`delete(attributes)`.
|
|
17
|
+
- `Oo7::Item`, one stored secret: `label`, `label=`, `attributes`,
|
|
18
|
+
`attributes=`, `secret`, `secret=`, `locked?`, `lock`, `unlock`, `delete`,
|
|
19
|
+
`created` and `modified`.
|
|
20
|
+
- A magnus native extension over the `oo7` crate (0.6), built with
|
|
21
|
+
`native_crypto` and `tokio` and no default features, so the object links
|
|
22
|
+
`libc`, `libgcc_s` and `libm` and nothing else. Neither libsecret, libgcr nor
|
|
23
|
+
libgcrypt is in the address space -- which is the reason this gem exists,
|
|
24
|
+
since a fault in those is not a caller's to fix.
|
|
25
|
+
- Precompiled platform gems for Linux (gnu and musl, x86_64/aarch64/arm) and
|
|
26
|
+
Darwin (x86_64/arm64), cross-compiled in CI.
|
|
27
|
+
|
|
28
|
+
### Changed
|
|
29
|
+
|
|
30
|
+
- The gem is published as `oo7-rb` rather than `oo7`. RubyGems holds `oo7` for
|
|
31
|
+
an unrelated `OO7` with indexed versions, and it refuses a name that differs
|
|
32
|
+
from an existing one only in case. The library, the module and the require
|
|
33
|
+
path are all still `oo7`; `require "oo7-rb"` is a shim onto it so that
|
|
34
|
+
`Bundler.require` resolves.
|
|
35
|
+
- Every method is synchronous. The crate's API is async throughout; each
|
|
36
|
+
binding drives it to completion on a Tokio runtime owned by the extension.
|
|
37
|
+
The runtime is multi-threaded with one worker rather than current-thread,
|
|
38
|
+
because zbus spawns its own socket reader task and the runtime has to keep
|
|
39
|
+
driving it while a call waits.
|
|
40
|
+
|
|
41
|
+
### Removed
|
|
42
|
+
|
|
43
|
+
- Windows is not a supported platform and is excluded from the cross-compile
|
|
44
|
+
matrix. The Secret Service is a freedesktop D-Bus API, and `ashpd` -- which
|
|
45
|
+
oo7 uses to ask whether the process is sandboxed -- is Unix-only, so the
|
|
46
|
+
dependency does not compile there.
|