| Commit message (Collapse) | Author |
|
That helps remove duplicated code and rustc/cargo will now also show
dead code correctly.
|
|
|
|
|
|
Reverts atuinsh/atuin#2932
Resolves #2960
|
|
|
|
* chore: upgrade to 2024 edition
* ugh unsafe
* format
* nixxxxxxxxxxx why
|
|
Improves the performance of `History::should_save` by constructing the
`SECRET_PATTERNS` `RegexSet` only once with a `LazyLock`.
This speeds up `atuin history prune` by ~100x (~7s to ~70ms on my
machine) (lol).
|
|
Update to use AWS env vars as documented, replace duplicated entries
AWS_SECRET_ACCESS_KEY the secret paired to Access Key IDs
AWS_SESSION_TOKEN the secret session token for STS sessions
|
|
|
|
- OAuth access tokens
- refresh token
- app installation token
- PAT v2
Additionally, added support for having >1 value for testing, for cases
where the pattern for a secret has alternative formats (GitHub PAT v2
does this)
|
|
|
|
secrets (#2174)
|
|
I'd like to tidy up the root a little, and it's nice to have all the
rust crates in one place
|
|
* include atuin login in secret patterns
* doc catchup
|
|
|
|
* fix #1236
* lints
|
|
I'd like to extend the regex list here very soon, but start off by
automatically filtering out secrets. Do not store them in history!
I've included regex for:
1. AWS key id
2. Github pat (old and new)
3. Slack oauth tokens (bot, user)
4. Slack webhooks
5. Stripe live/test keys
Will need updating after #806
|