aboutsummaryrefslogtreecommitdiff
path: root/passgen
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2024-08-14 00:31:25 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2024-08-14 00:31:25 +0530
commit282e9519ae5c7007dec1f79967de243a753decba (patch)
tree8aa62763f9f7c39d7b0c5ffedc857a552a9119e2 /passgen
parentb699b4db71d08b574cc31daf4ee8c9b849ebaa11 (diff)
chore: add missing copyright headers and update existing ones
Diffstat (limited to 'passgen')
-rw-r--r--passgen/diceware/build.gradle.kts2
-rw-r--r--passgen/diceware/src/main/AndroidManifest.xml4
-rw-r--r--passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/DicewarePassphraseGenerator.kt2
-rw-r--r--passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/Die.kt2
-rw-r--r--passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/RandomIntGenerator.kt2
-rw-r--r--passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/WordListParser.kt2
-rw-r--r--passgen/diceware/src/test/kotlin/app/passwordstore/passgen/diceware/DicewarePassphraseGeneratorTest.kt2
-rw-r--r--passgen/diceware/src/test/kotlin/app/passwordstore/passgen/diceware/DieTest.kt2
-rw-r--r--passgen/diceware/src/test/kotlin/app/passwordstore/passgen/diceware/WordListParserTest.kt2
-rw-r--r--passgen/random/build.gradle.kts2
-rw-r--r--passgen/random/src/main/kotlin/app/passwordstore/passgen/random/PasswordGenerator.kt2
-rw-r--r--passgen/random/src/main/kotlin/app/passwordstore/passgen/random/PasswordGeneratorException.kt5
-rw-r--r--passgen/random/src/main/kotlin/app/passwordstore/passgen/random/PasswordOption.kt5
-rw-r--r--passgen/random/src/main/kotlin/app/passwordstore/passgen/random/RandomNumberGenerator.kt2
-rw-r--r--passgen/random/src/main/kotlin/app/passwordstore/passgen/random/RandomPasswordGenerator.kt2
-rw-r--r--passgen/random/src/main/kotlin/app/passwordstore/passgen/random/RandomPhonemesGenerator.kt2
-rw-r--r--passgen/random/src/main/kotlin/app/passwordstore/passgen/random/util/Extensions.kt5
17 files changed, 30 insertions, 15 deletions
diff --git a/passgen/diceware/build.gradle.kts b/passgen/diceware/build.gradle.kts
index f7bb2fd2..88116958 100644
--- a/passgen/diceware/build.gradle.kts
+++ b/passgen/diceware/build.gradle.kts
@@ -1,5 +1,5 @@
/*
- * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
+ * Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-3.0-only
*/
plugins {
diff --git a/passgen/diceware/src/main/AndroidManifest.xml b/passgen/diceware/src/main/AndroidManifest.xml
index e3cc34c8..c5303eba 100644
--- a/passgen/diceware/src/main/AndroidManifest.xml
+++ b/passgen/diceware/src/main/AndroidManifest.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?><!--
- ~ Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
- ~ SPDX-License-Identifier: LGPL-3.0-only WITH LGPL-3.0-linking-exception
+ ~ Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved.
+ ~ SPDX-License-Identifier: GPL-3.0-only
-->
<manifest />
diff --git a/passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/DicewarePassphraseGenerator.kt b/passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/DicewarePassphraseGenerator.kt
index 36d7e600..1ac89295 100644
--- a/passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/DicewarePassphraseGenerator.kt
+++ b/passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/DicewarePassphraseGenerator.kt
@@ -1,5 +1,5 @@
/*
- * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
+ * Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-3.0-only
*/
diff --git a/passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/Die.kt b/passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/Die.kt
index c93fc40f..b5343154 100644
--- a/passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/Die.kt
+++ b/passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/Die.kt
@@ -1,5 +1,5 @@
/*
- * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
+ * Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-3.0-only
*/
diff --git a/passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/RandomIntGenerator.kt b/passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/RandomIntGenerator.kt
index 18a828a6..10054554 100644
--- a/passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/RandomIntGenerator.kt
+++ b/passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/RandomIntGenerator.kt
@@ -1,5 +1,5 @@
/*
- * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
+ * Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-3.0-only
*/
diff --git a/passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/WordListParser.kt b/passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/WordListParser.kt
index 6c7f5310..f72eea91 100644
--- a/passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/WordListParser.kt
+++ b/passgen/diceware/src/main/kotlin/app/passwordstore/passgen/diceware/WordListParser.kt
@@ -1,5 +1,5 @@
/*
- * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
+ * Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-3.0-only
*/
diff --git a/passgen/diceware/src/test/kotlin/app/passwordstore/passgen/diceware/DicewarePassphraseGeneratorTest.kt b/passgen/diceware/src/test/kotlin/app/passwordstore/passgen/diceware/DicewarePassphraseGeneratorTest.kt
index 976e0345..36316518 100644
--- a/passgen/diceware/src/test/kotlin/app/passwordstore/passgen/diceware/DicewarePassphraseGeneratorTest.kt
+++ b/passgen/diceware/src/test/kotlin/app/passwordstore/passgen/diceware/DicewarePassphraseGeneratorTest.kt
@@ -1,5 +1,5 @@
/*
- * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
+ * Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-3.0-only
*/
diff --git a/passgen/diceware/src/test/kotlin/app/passwordstore/passgen/diceware/DieTest.kt b/passgen/diceware/src/test/kotlin/app/passwordstore/passgen/diceware/DieTest.kt
index 725d80f7..ea6c56e0 100644
--- a/passgen/diceware/src/test/kotlin/app/passwordstore/passgen/diceware/DieTest.kt
+++ b/passgen/diceware/src/test/kotlin/app/passwordstore/passgen/diceware/DieTest.kt
@@ -1,5 +1,5 @@
/*
- * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
+ * Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-3.0-only
*/
diff --git a/passgen/diceware/src/test/kotlin/app/passwordstore/passgen/diceware/WordListParserTest.kt b/passgen/diceware/src/test/kotlin/app/passwordstore/passgen/diceware/WordListParserTest.kt
index c9757351..76cd7d57 100644
--- a/passgen/diceware/src/test/kotlin/app/passwordstore/passgen/diceware/WordListParserTest.kt
+++ b/passgen/diceware/src/test/kotlin/app/passwordstore/passgen/diceware/WordListParserTest.kt
@@ -1,5 +1,5 @@
/*
- * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
+ * Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-3.0-only
*/
diff --git a/passgen/random/build.gradle.kts b/passgen/random/build.gradle.kts
index 698a36b5..0a1cdfea 100644
--- a/passgen/random/build.gradle.kts
+++ b/passgen/random/build.gradle.kts
@@ -1,5 +1,5 @@
/*
- * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
+ * Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-3.0-only
*/
plugins { id("com.github.android-password-store.kotlin-jvm-library") }
diff --git a/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/PasswordGenerator.kt b/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/PasswordGenerator.kt
index 17a60456..b9d01516 100644
--- a/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/PasswordGenerator.kt
+++ b/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/PasswordGenerator.kt
@@ -1,5 +1,5 @@
/*
- * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
+ * Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-3.0-only
*/
package app.passwordstore.passgen.random
diff --git a/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/PasswordGeneratorException.kt b/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/PasswordGeneratorException.kt
index 16ebdc90..ec5c38c7 100644
--- a/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/PasswordGeneratorException.kt
+++ b/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/PasswordGeneratorException.kt
@@ -1,3 +1,8 @@
+/*
+ * Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved.
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
package app.passwordstore.passgen.random
public sealed class PasswordGeneratorException(message: String? = null, cause: Throwable? = null) :
diff --git a/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/PasswordOption.kt b/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/PasswordOption.kt
index 860e3573..f1e1d985 100644
--- a/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/PasswordOption.kt
+++ b/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/PasswordOption.kt
@@ -1,3 +1,8 @@
+/*
+ * Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved.
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
package app.passwordstore.passgen.random
public enum class PasswordOption(public val key: String) {
diff --git a/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/RandomNumberGenerator.kt b/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/RandomNumberGenerator.kt
index 4ea3a923..4a66711a 100644
--- a/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/RandomNumberGenerator.kt
+++ b/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/RandomNumberGenerator.kt
@@ -1,5 +1,5 @@
/*
- * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
+ * Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-3.0-only
*/
package app.passwordstore.passgen.random
diff --git a/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/RandomPasswordGenerator.kt b/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/RandomPasswordGenerator.kt
index 80e5e583..193508c9 100644
--- a/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/RandomPasswordGenerator.kt
+++ b/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/RandomPasswordGenerator.kt
@@ -1,5 +1,5 @@
/*
- * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
+ * Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-3.0-only
*/
package app.passwordstore.passgen.random
diff --git a/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/RandomPhonemesGenerator.kt b/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/RandomPhonemesGenerator.kt
index b23acb5e..f451273c 100644
--- a/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/RandomPhonemesGenerator.kt
+++ b/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/RandomPhonemesGenerator.kt
@@ -1,5 +1,5 @@
/*
- * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
+ * Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-3.0-only
*/
package app.passwordstore.passgen.random
diff --git a/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/util/Extensions.kt b/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/util/Extensions.kt
index 71eec63b..9219e567 100644
--- a/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/util/Extensions.kt
+++ b/passgen/random/src/main/kotlin/app/passwordstore/passgen/random/util/Extensions.kt
@@ -1,3 +1,8 @@
+/*
+ * Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved.
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
package app.passwordstore.passgen.random.util
/** Clears the given [flag] from the value of this [Int] */