Commit graph

1300 commits

Author SHA1 Message Date
Jack Grigg
5511d8cecb docs: Remove references to now-removed generation scripts 2024-02-04 22:24:44 +00:00
Jack Grigg
7bf8e5ee7f Add CONTRIBUTING.md file with information about how to localize 2024-02-04 21:54:42 +00:00
str4d
87a0ec6d6d
Merge pull request #480 from hexanova/main
rage.ftl ru translation
2024-02-04 21:47:53 +00:00
Jack Grigg
7f51ef6ebb rage: Adjust line wrapping for multi-line ru strings, fix some bugs 2024-02-04 21:35:59 +00:00
hexanova
22bc380359 rage.ftl ru translation 2024-02-04 12:33:44 -08:00
hexanova
6555f607e8 Create rage.ftl 2024-02-03 23:33:36 -08:00
str4d
1a9148372f
Merge pull request #479 from str4d/update-deps-0.10-final
Update dependencies for 0.10.0
2024-02-03 17:00:07 +00:00
Jack Grigg
09ef846cab cargo vet regenerate imports 2024-02-03 16:49:02 +00:00
Jack Grigg
bdfedfbc2b cargo update 2024-02-03 16:47:27 +00:00
str4d
7f65f83d32
Merge pull request #471 from hexanova/main
ru age.ftl translation
2024-02-03 12:08:03 +00:00
str4d
82c6a8e554
Merge pull request #478 from str4d/ci-codecov-token
CI: Add `CODECOV_TOKEN` to codecov step
2024-02-03 12:07:36 +00:00
Jack Grigg
f00383a5d3 CI: Add CODECOV_TOKEN to codecov step 2024-02-03 11:56:42 +00:00
str4d
c4a106be6f
Merge pull request #474 from str4d/dependabot/github_actions/codecov/codecov-action-4.0.1
build(deps): bump codecov/codecov-action from 3.1.5 to 4.0.1
2024-02-03 11:51:00 +00:00
str4d
191b9bb37a
Merge pull request #477 from str4d/ci-test-release-artifacts
CI: Test outputs of release workflow in test mode
2024-02-03 11:45:43 +00:00
str4d
1bd3f583a8
Merge pull request #476 from str4d/partial-localization
rage: Revert to using requested langauges for `age` localization
2024-02-03 11:41:09 +00:00
str4d
5e255c8274
Merge pull request #475 from FiloSottile/filippo/it
age/i18n,rage/i18n: update it translations
2024-02-03 11:39:14 +00:00
Jack Grigg
06731f8dc6 CI: Test outputs of release workflow in test mode 2024-02-03 11:26:11 +00:00
Jack Grigg
98a460e55b rage: Revert to using requested langauges for age localization
This ensures that if we have a matching locale for `age` but not `rage`,
we don't ignore the `age` locale, and instead use the best match for
each of them.
2024-02-03 10:38:02 +00:00
Jack Grigg
b6a0c37f4c rage: Update expected CLI test outputs 2024-02-03 10:35:15 +00:00
Jack Grigg
c56f6fba42 age: Mention ru in changelog 2024-02-03 10:28:47 +00:00
Jack Grigg
f1d969142e age: Adjust line wrapping for multi-line ru strings 2024-02-03 10:25:21 +00:00
Filippo Valsorda
7dc99c0d14 age/i18n,rage/i18n: update it translations 2024-02-03 10:09:54 +01:00
dependabot[bot]
235215c579
build(deps): bump codecov/codecov-action from 3.1.5 to 4.0.1
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.5 to 4.0.1.
- [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.5...v4.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-02 03:11:34 +00:00
hexanova
4485330b49 ru age.ftl translation 2024-01-29 15:49:05 -08:00
str4d
d4cfb10a8a
Merge pull request #468 from str4d/packages
Add entries for existing `rage` packages to README
2024-01-28 03:11:10 +00:00
Jack Grigg
a763809ac1 Add entries for existing rage packages to README 2024-01-28 03:05:10 +00:00
str4d
fea5fce351
Merge pull request #467 from ehaupt/patch-1
Add informations for FreeBSD
2024-01-27 22:45:15 +00:00
Emanuel Haupt
5f3a8eb338 Add informations for FreeBSD
Add packaging information for FreeBSD.
2024-01-27 23:33:47 +01:00
str4d
592c2a0205
Merge pull request #466 from str4d/dependabot/github_actions/codecov/codecov-action-3.1.5
build(deps): bump codecov/codecov-action from 3.1.4 to 3.1.5
2024-01-27 01:54:35 +00:00
dependabot[bot]
3af0089b3f
build(deps): bump codecov/codecov-action from 3.1.4 to 3.1.5
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.4 to 3.1.5.
- [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.4...v3.1.5)

---
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>
2024-01-26 03:05:35 +00:00
str4d
3810b58744
Merge pull request #465 from str4d/reject-weak-ssh-rsa
Reject weak `ssh-rsa` keys
2024-01-25 06:04:24 +00:00
str4d
8b22e77e57
Merge pull request #464 from str4d/documentation-updates
Documentation updates
2024-01-25 06:04:08 +00:00
Jack Grigg
5e342c8735 Add specific error message for OpenSSH hardware authenticators 2024-01-25 05:55:52 +00:00
Jack Grigg
7628e73577 Enhance manpage for rage-mount 2024-01-25 05:55:52 +00:00
Jack Grigg
021884bc09 Ensure that all localization files have the same non-localized terms 2024-01-25 05:55:52 +00:00
Jack Grigg
01b1dd83ee age: Extract more non-localized terms for consistency 2024-01-25 05:55:52 +00:00
Jack Grigg
dbcf86d868 Adapt age manpages to rage 2024-01-25 05:55:52 +00:00
Jack Grigg
903f0fb1ed Update README with recent changes 2024-01-25 05:55:52 +00:00
Jack Grigg
98eb6e9508 rage: Add passphrase usage to help text, and mention recent changes 2024-01-25 05:55:52 +00:00
Jack Grigg
275d8f0b96 Reject weak ssh-rsa keys 2024-01-25 05:53:05 +00:00
str4d
2689d8ab6c
Merge pull request #462 from str4d/177-recipients-identities-from-stdin
Add support for `-R -` and `-i -`
2024-01-21 20:24:42 +00:00
Jack Grigg
8bd346d988 Add support for -R - and -i -
Closes str4d/rage#177.
2024-01-21 20:18:12 +00:00
Jack Grigg
d3b2195987 rage: Parse identities before input file during decryption
Previously we avoided parsing `-i/--identity` flags before determining
whether the input file was passphrase-encrypted or not, as it is an
error to provide `-i/--identity` flags when decrypting a file encrypted
with a passphrase. However, once we support identities via standard
input (`-i -`), we won't be able to distinguish between standard input
containing an encrypted file and an encrypted identity, so instead of a
nice "stdin used multiple times" error we will get a misleading "invalid
header" error.

By parsing identities first, we ensure that the `-i/--identity` flags
are themselves used correctly, and then in the case that we wouldn't use
them due to passphrase encryption, we drop the parsed identities. It's a
bit more work on the unhappy path, but no more work on the happy path.
2024-01-21 19:13:34 +00:00
Jack Grigg
b82e084ca3 rage: Construct input and output before encryptor
This makes encryption and decryption consistent, in that input and
output setup errors are reported before encryptor or decryptor
construction errors.
2024-01-21 06:11:39 +00:00
str4d
4ff14b1bdd
Merge pull request #459 from str4d/cli-reader-refactors
Refactor helper functions for reading recipients and identities
2024-01-21 06:09:31 +00:00
str4d
bb6ca5005a
Merge pull request #461 from str4d/rage-build-script-mount-flag
rage: Use `mount` feature flag to avoid generating `rage-mount` files
2024-01-21 06:08:46 +00:00
Jack Grigg
db7ddd2933 rage: Use mount feature flag to avoid generating rage-mount files
This will make subsequent installation via Homebrew formula easier.
2024-01-21 05:56:35 +00:00
Jack Grigg
cdbd490eb8 age: Refactor cli_common::read_identities into an internal submodule 2024-01-21 03:25:29 +00:00
Jack Grigg
e470fec9df Move read_recipients helper from rage into age::cli_common
This means we no longer need the more complex `parse_identity_files`
helper to be public. It also means we have closer control of the
internals of `read_recipients` and `read_identities`, which will be
necessary for standard input de-confliction (str4d/rage#177).
2024-01-21 03:25:29 +00:00
Jack Grigg
ebd2e197ae age: Refactor cli_common::ReadError into an internal submodule 2024-01-21 03:22:25 +00:00