Commit graph

1419 commits

Author SHA1 Message Date
str4d
c537af2bb3
Merge pull request #428 from str4d/dependabot/github_actions/actions/setup-go-5
build(deps): bump actions/setup-go from 4 to 5
2023-12-27 10:47:49 +00:00
dependabot[bot]
adb1ae0404
build(deps): bump actions/setup-go from 4 to 5
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 03:03:07 +00:00
str4d
3dc9c60f36
Merge pull request #425 from str4d/421-report-larger-rsa-pubkeys
Improve errors and changelogs for larger RSA keys
2023-12-17 23:00:36 +00:00
str4d
39dddda54a
age: Derive Eq on x25519::Recipient in addition to PartialEq 2023-12-17 22:49:26 +00:00
Jack Grigg
936ad71500 ssh: Return a specific error for too-large RSA moduli
Exposing this in `rage` also results in us fixing an (unlikely) error
where an OpenSSH private key containing an invalid public key (but that
is otherwise valid) is passed as an identity during encryption.
2023-12-17 22:44:57 +00:00
Jack Grigg
03ee24fa8d ssh: Make maximum RSA pubkey size explicit internally
This should make it more easily configurable if we decide to do this in
future.
2023-12-17 22:44:57 +00:00
Jack Grigg
e9eb2c2dd7 age: Document RSA pubkey size limit introduction in changelog
This was accidentally introduced via the `rsa 0.7` migration. It is
however a useful default.

Closes str4d/rage#421.
2023-12-17 22:44:57 +00:00
str4d
8e5e516367
Merge pull request #407 from str4d/dependabot/github_actions/actions/checkout-4
build(deps): bump actions/checkout from 3 to 4
2023-12-17 17:36:00 +00:00
Jack Grigg
967750cecf scrypt: Increase log_n until it is measurable
Closes str4d/rage#418.
2023-12-17 17:32:52 +00:00
str4d
ed12d5f43a
Merge pull request #423 from str4d/update-deps-0.10-again
Update dependencies again for 0.10
2023-12-17 17:07:39 +00:00
Jack Grigg
ff9f185cf6 i18n-embed 0.14, i18n-embed-fl 0.7, rust-embed 8 2023-12-17 17:00:53 +00:00
Jack Grigg
a60cf6fa58 criterion-cycles-per-byte 0.6, pprof 0.13 2023-12-17 16:54:17 +00:00
Jack Grigg
fef2fc45d8 fuser 0.13 2023-12-17 16:50:11 +00:00
Jack Grigg
349fa9a7bb curve25519-dalek 4, x25519-dalek 2 2023-12-17 16:44:54 +00:00
Jack Grigg
69f755731a cargo update 2023-12-17 16:37:58 +00:00
gibbz00
81acb7773c Derive Debug for age::x25519::Recipient. 2023-12-09 11:25:31 +01:00
gibbz00
1973dea903 Derive PartialEq for age::x25519::Recipient. 2023-12-09 11:23:25 +01:00
dependabot[bot]
d6d74a5f33
build(deps): bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 03:46:14 +00:00
str4d
488212d707
Merge pull request #406 from thibmeu/thibmeu/fix-age-plugin-read-line
age: Replace callback input `read_line_initial_text` with `write_str` and `read_line`
2023-08-07 10:54:12 +01:00
Jack Grigg
634e56787b age: Update changelog with UiCallbacks fixes 2023-08-07 09:35:21 +00:00
Thibault Meunier
0936608077
age-plugin: Replace callback input read_line_initial_text with write_str and read_line
`read_line_initial_text` fills the tty input with the initial text. This
implies that the returned input is usually prefixed with the initial
text, or that the initial text can be removed.
This differs from `age` behaviour, which is to not allow the initial
text to be removed.

As a consequence, plugin leveraging callbacks for reading public input
(confirm, request_public_string) exhibit a different behaviour depending
on if they are called with `age` or `rage`.

This commit replaces `read_line_initial_text` with `write_str` and
`read_line`. The initial text is still displayed to the user, but it
does not affect the returned output.
2023-08-07 09:49:52 +02:00
str4d
ea42d81879
Merge pull request #405 from str4d/359-replace-atty
age: Replace `atty` with `is-terminal`
2023-08-06 19:33:42 +01:00
Jack Grigg
4d81bb0e57 age: Replace atty with is-terminal
Closes str4d/rage#359.
2023-08-06 18:03:44 +00:00
str4d
3b29ef6b00
Merge pull request #404 from str4d/387-plugin-runner-optional-args
age-plugin: Make arguments to `run_state_machine` optional
2023-08-06 18:32:22 +01:00
Jack Grigg
480c621a40 age-plugin: Make arguments to run_state_machine optional
Closes str4d/rage#387.
2023-08-06 16:54:35 +00:00
str4d
56edd888c1
Merge pull request #400 from WesleyAC/patch-1
Add note on rust library crate
2023-08-06 16:24:21 +01:00
str4d
0fff60743e
Merge pull request #401 from str4d/dependabot/github_actions/svenstaro/upload-release-action-2.7.0
build(deps): bump svenstaro/upload-release-action from 2.6.1 to 2.7.0
2023-08-06 16:23:01 +01:00
str4d
1d872c921d
Merge pull request #402 from str4d/update-deps-0.10
Update dependencies for 0.10
2023-08-06 16:22:18 +01:00
Jack Grigg
42c27b089e cargo vet regenerate exemptions 2023-08-06 15:06:12 +00:00
Jack Grigg
2e11dd37cf Import cargo-vet audits from Google 2023-08-06 15:06:12 +00:00
Jack Grigg
ae14d195fd cargo vet regenerate imports 2023-08-06 15:06:12 +00:00
Jack Grigg
b9f4e6b4a8 criterion 0.5 2023-08-06 15:06:12 +00:00
Jack Grigg
e4666b9d9b Migrate to clap 4 for generating completions 2023-08-06 15:06:12 +00:00
Jack Grigg
c1e4e0aa93 env_logger 0.10 2023-08-06 15:06:12 +00:00
Jack Grigg
a6bc822691 test-case 3 2023-08-06 15:06:12 +00:00
Jack Grigg
1307b2bdad cargo update again 2023-08-06 15:06:12 +00:00
Jack Grigg
d0f40aa534 rpassword 7 2023-08-06 15:06:12 +00:00
Jack Grigg
f2731ecc43 Migrate to rsa 0.9 2023-08-06 15:06:12 +00:00
Jack Grigg
e3bb209dfa scrypt 0.11, bcrypt-pbkdf2 0.11 2023-08-06 15:06:12 +00:00
Jack Grigg
5c67ec2180 Migrate to base64 0.21 2023-08-06 15:06:12 +00:00
Jack Grigg
4e5e0eeb34 cargo update 2023-08-06 15:06:12 +00:00
Jack Grigg
5b2ade12a4 Migrate to workspace inheritance 2023-08-06 15:06:12 +00:00
Jack Grigg
fdb41822fc Bump MSRV to 1.65.0 2023-08-06 15:06:10 +00:00
dependabot[bot]
1b7d9fa0e8
build(deps): bump svenstaro/upload-release-action from 2.6.1 to 2.7.0
Bumps [svenstaro/upload-release-action](https://github.com/svenstaro/upload-release-action) from 2.6.1 to 2.7.0.
- [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.6.1...2.7.0)

---
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-07-31 03:56:24 +00:00
Wesley Aptekar-Cassels
9db54ffbc2
Add note on rust library crate 2023-07-17 17:51:06 -04:00
Jack Grigg
bccc4bc949 Update Homebrew formula to v0.9.2 2023-06-13 12:32:08 +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