Comments (3)
Thanks for reporting! I'll investigate and fix soon!
from ripsecrets.
I just pushed a fix that will go out in 0.1.3 (e3f7bf0). The reason ignoring didn't work is because the key it detected was "ALLOW_ROW_LOCKS", so you would have had to add that to the secrets ignore. I think if the tool highlighted the subset of the row that was detected as the secret it would have been more obvious. The other issue is that ALLOW_ROW_LOCKS shouldn't have been detected as a non-random string in the first place, which I suspect was flagged because my common bigram dataset doesn't have enough capital letter bigrams.
from ripsecrets.
I just pushed a fix that will go out in 0.1.3 (e3f7bf0). The reason ignoring didn't work is because the key it detected was "ALLOW_ROW_LOCKS", so you would have had to add that to the secrets ignore. I think if the tool highlighted the subset of the row that was detected as the secret it would have been more obvious. The other issue is that ALLOW_ROW_LOCKS shouldn't have been detected as a non-random string in the first place, which I suspect was flagged because my common bigram dataset doesn't have enough capital letter bigrams.
sounds good... highlight would be nice, but since you've already got the line number in the output, just simply outputting the secret would probably be sufficient too, maybe in single quotes or with some other delimiter, that might be more tool friendly than highlighting
from ripsecrets.
Related Issues (20)
- Finalize pre-commit configuration HOT 4
- What kind of secret that ripsecrets can find out HOT 4
- Consider supporting BIND9 config format
- Running cargo install downloads sentry submodule HOT 4
- Bug: Long secrets are not ignored
- Feature request: Allow global .secretsignore
- `.secretsignore` without `[secrets]` isnβt used
- FR: Consider adding gitlab private token pattern. HOT 3
- Check against SEDATED regexes for more
- `pre-commit` hook should use pre-built binaries instead of requiring `cargo install` HOT 8
- Inconsistent behavior on secretsignore HOT 2
- It doesn't work HOT 9
- Blockers to 1.0.0? HOT 1
- Does not work in Windows
- Include a manpage in release artifacts HOT 1
- Handle multi-platform releases HOT 3
- Catch Azure SAS tokens in URLs? HOT 2
- Publish on crates.io HOT 4
- support quay robot token pattern HOT 3
- not that fast.. show benchmarks HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ripsecrets.