Commit graph

1132 commits

Author SHA1 Message Date
Jack Grigg
bbe157839f Merge branch 'bugfix-0.8.2' into bugfix-0.9.3 2024-11-18 06:44:52 +00:00
Jack Grigg
8673d5687e v0.8.2 2024-11-18 06:42:27 +00:00
Jack Grigg
951ffb9ede Merge branch 'bugfix-0.7.2' into bugfix-0.8.2 2024-11-18 06:40:52 +00:00
Jack Grigg
f8d0ef7154 v0.7.2 2024-11-18 06:40:16 +00:00
Jack Grigg
f70d84618b Apply plugin name restriction to 0.7 changes
The existing code was already panicking, but this gives it a nicer error
message.
2024-11-18 06:40:16 +00:00
Jack Grigg
650081765f Merge branch 'bugfix-0.6.1' into bugfix-0.7.2 2024-11-18 05:30:01 +00:00
Jack Grigg
5501bb6220 v0.6.1 2024-11-18 05:24:53 +00:00
Jack Grigg
703152ecfa Restrict set of valid characters for plugin names
Previously, plugin names were allowed to be `1*VCHAR`, which permits
path separators and parent directory syntax. Under certain conditions,
this could cause `rage` to execute a different binary than intended when
launching a plugin.

Plugin names are now restricted to alphanumeric characters or +-._ which
covers all binary names generally observed in practice.
2024-11-18 04:58:13 +00:00
Jack Grigg
b6c8f06096 Add tests for invalid plugin name chars 2024-11-18 04:41:20 +00:00
str4d
e6180f1a20
Merge pull request #396 from str4d/ci-release-fixes
CI: Ensure `apt` repository is up-to-date before installing build deps
2023-06-13 05:00:52 +01:00
Jack Grigg
49bd8f9a90 CI: Ensure apt repository is up-to-date before installing build deps 2023-06-13 03:46:57 +00:00
str4d
5b0736fb43
Merge pull request #395 from str4d/ci-fixes
CI fixes required for 0.9.2 release
2023-06-13 02:59:46 +01:00
Jack Grigg
6bb277a8f8 CI: Build Linux releases using ubuntu-20.04 runner 2023-06-13 01:36:47 +00:00
Jack Grigg
cda5524319 CI: Remove most uses of actions-rs actions
MSRV in CI is now pinned via `rust-toolchain.toml`.
2023-06-13 01:34:36 +00:00
str4d
267f383d3c
Merge pull request #394 from str4d/release-0.9.2
Release 0.9.2
2023-06-12 21:36:20 +01:00
Jack Grigg
8f4a0f40ea v0.9.2 2023-06-12 19:50:05 +00:00
Jack Grigg
3340db8655 Fix changelog bugs and add missing entry 2023-06-12 19:47:31 +00:00
Jack Grigg
c1fe38e149 Document PINENTRY_PROGRAM environment variable
Part of str4d/rage#280.
2023-06-12 19:23:36 +00:00
str4d
22882cbb24
Merge pull request #393 from str4d/368-async-buffered-header-reading
Enable header parsing to use `R: futures::io::AsyncBufRead`
2023-06-12 19:41:03 +01:00
Jack Grigg
37012baa4d age: Add Decryptor::new_async_buffered
This is significantly more efficient than `Decryptor::new_async` at
parsing headers, due to avoiding repeated short reads.
2023-06-12 18:25:09 +00:00
Jack Grigg
56049bd3ae age: impl AsyncBufRead for ArmoredReader 2023-06-12 18:15:22 +00:00
str4d
623f6636a5
Merge pull request #357 from bonedaddy/misc/vec-pre-alloc
Initialize Vector With Capacity When Known
2023-06-12 18:02:42 +01:00
bonedaddy
b59c5dc39f Pre-initialize vectors when the capacity is known, or use arrays
Co-authored-by: Jack Grigg <thestr4d@gmail.com>
2023-06-12 16:51:30 +00:00
str4d
60c3946e56
Merge pull request #382 from jfaust/fix/async-write-zero
StreamWriter AsyncWrite: fix usage with futures::io::copy() and tokio::io::copy()
2023-06-12 17:44:09 +01:00
str4d
dc7bb63396
Merge pull request #364 from mutlusun/feat-pinentry-env-var
feat/pinentry: Use env var to define pinentry binary
2023-06-12 17:35:15 +01:00
str4d
aaeee48361
Use PINENTRY_PROGRAM as environment variable for pinentry 2023-06-12 17:22:43 +01:00
str4d
bec4595e7a
Document why impl AsyncWrite for StreamWriter doesn't loop indefinitely 2023-06-12 16:56:25 +01:00
str4d
cba202adb7
Merge pull request #392 from str4d/update-deps-0.9.2
Update dependencies for 0.9.2
2023-06-12 16:38:21 +01:00
Jack Grigg
cd5a2dc5a0 cargo update 2023-06-12 14:01:06 +00:00
Jack Grigg
3a6ece4bdc cargo vet prune 2023-06-12 01:26:31 +00:00
Jack Grigg
4491f62132 Migrate to cargo-vet 0.7 2023-06-12 01:25:52 +00:00
str4d
47cb174139
Merge pull request #389 from sjmurdoch/patch-1
Correct spelling in documentation
2023-06-11 02:53:12 +01:00
str4d
a1a066d7b7
Merge pull request #390 from str4d/dependabot/github_actions/svenstaro/upload-release-action-2.6.1
build(deps): bump svenstaro/upload-release-action from 2.5.0 to 2.6.1
2023-06-10 14:54:50 +01:00
str4d
a62916c8b4
Merge pull request #386 from str4d/dependabot/github_actions/codecov/codecov-action-3.1.4
build(deps): bump codecov/codecov-action from 3.1.1 to 3.1.4
2023-06-10 14:54:01 +01:00
dependabot[bot]
59d9b7d18d
build(deps): bump svenstaro/upload-release-action from 2.5.0 to 2.6.1
Bumps [svenstaro/upload-release-action](https://github.com/svenstaro/upload-release-action) from 2.5.0 to 2.6.1.
- [Release notes](https://github.com/svenstaro/upload-release-action/releases)
- [Changelog](https://github.com/svenstaro/upload-release-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/svenstaro/upload-release-action/compare/2.5.0...2.6.1)

---
updated-dependencies:
- dependency-name: svenstaro/upload-release-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-01 03:59:22 +00:00
Steven Murdoch
8eead2e17d
Correct spelling in documentation 2023-05-26 10:53:08 +01:00
dependabot[bot]
148487d4b2
build(deps): bump codecov/codecov-action from 3.1.1 to 3.1.4
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.1 to 3.1.4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3.1.1...v3.1.4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-16 03:58:22 +00:00
Josh Faust
a6aa252a49 StreamWriter AsyncWrite: fix usage with futures::io::copy()
Never return 0 in poll_write() if there is data to write
2023-04-22 22:20:14 -07:00
str4d
f84af2c069
Merge pull request #377 from str4d/368-buffered-header-reading
Enable header parsing to use `R: std::io::BufRead`
2023-03-25 00:32:14 +00:00
Jack Grigg
f337b558ad rage: Use Decryptor::new_buffered 2023-03-25 00:05:56 +00:00
Jack Grigg
7ef416aaa3 age: Add Decryptor::new_buffered
This is significantly more efficient than `Decryptor::new` at parsing
headers, due to avoiding repeated short reads.
2023-03-25 00:05:56 +00:00
Jack Grigg
15382946d3 age: impl BufRead for ArmoredReader 2023-03-24 22:11:30 +00:00
Jack Grigg
3260c7db92 Update Homebrew formula to v0.9.1 2023-03-25 05:04:52 +09:00
str4d
b6b1eceae6
Merge pull request #376 from str4d/release-0.9.1
Release 0.9.1
2023-03-24 13:34:38 +00:00
Jack Grigg
a291796b5b v0.9.1 2023-03-24 22:18:30 +09:00
Jack Grigg
89e699d387 cargo update 2023-03-24 22:14:24 +09:00
str4d
57297339f9
Merge pull request #375 from str4d/fix-cargo-vet
Fix `cargo-vet`
2023-03-24 12:49:42 +00:00
Jack Grigg
6cab7c1445 Update cargo-vet audits 2023-03-24 21:29:19 +09:00
Jack Grigg
ffc91d13bb Fix cargo-vet config file 2023-03-24 21:12:18 +09:00
str4d
15eb8db038
Merge pull request #373 from str4d/dependabot/github_actions/actions/setup-go-4
build(deps): bump actions/setup-go from 3 to 4
2023-03-24 11:50:22 +00:00