diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2023-04-27 01:37:20 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2023-04-27 01:37:20 +0530 |
commit | 53497c03654cc04da40f7385c4d7711faa40e8f3 (patch) | |
tree | 12242945d362e6b13378b83a0db46e2eb15845c6 /passgen | |
parent | ca327555cd71ff85e465a97898f6e7fa034d5a45 (diff) |
feat(lint): update baselines
Diffstat (limited to 'passgen')
-rw-r--r-- | passgen/diceware/lint-baseline.xml | 9 | ||||
-rw-r--r-- | passgen/random/lint-baseline.xml | 15 |
2 files changed, 16 insertions, 8 deletions
diff --git a/passgen/diceware/lint-baseline.xml b/passgen/diceware/lint-baseline.xml index ec691a93..752ac952 100644 --- a/passgen/diceware/lint-baseline.xml +++ b/passgen/diceware/lint-baseline.xml @@ -1,11 +1,4 @@ <?xml version="1.0" encoding="UTF-8"?> -<issues format="6" by="lint 7.4.2" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.2)" variant="all" version="7.4.2"> - - <issue - id="UnusedResources" - message="The resource `R.raw.diceware_wordlist` appears to be unused"> - <location - file="src/main/res/raw/diceware_wordlist.txt"/> - </issue> +<issues format="6" by="lint 8.0.0" type="baseline" client="gradle" dependencies="false" name="AGP (8.0.0)" variant="all" version="8.0.0"> </issues> diff --git a/passgen/random/lint-baseline.xml b/passgen/random/lint-baseline.xml new file mode 100644 index 00000000..02aa21bf --- /dev/null +++ b/passgen/random/lint-baseline.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<issues format="6" by="lint 8.0.0" type="baseline" client="gradle" dependencies="false" name="AGP (8.0.0)" variant="all" version="8.0.0"> + + <issue + id="TrulyRandom" + message="Potentially insecure random numbers on Android 4.3 and older. Read https://android-developers.blogspot.com/2013/08/some-securerandom-thoughts.html for more info." + errorLine1="private val secureRandom = SecureRandom()" + errorLine2=" ~~~~~~~~~~~~"> + <location + file="src/main/kotlin/app/passwordstore/passgen/random/RandomNumberGenerator.kt" + line="9" + column="28"/> + </issue> + +</issues> |