diff options
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> |