From 282e9519ae5c7007dec1f79967de243a753decba Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Wed, 14 Aug 2024 00:31:25 +0530 Subject: chore: add missing copyright headers and update existing ones --- crypto/common/build.gradle.kts | 2 +- .../common/src/main/kotlin/app/passwordstore/crypto/CryptoHandler.kt | 2 +- .../common/src/main/kotlin/app/passwordstore/crypto/CryptoOptions.kt | 5 +++++ crypto/common/src/main/kotlin/app/passwordstore/crypto/KeyManager.kt | 2 +- .../main/kotlin/app/passwordstore/crypto/errors/CryptoException.kt | 5 +++++ crypto/pgpainless/build.gradle.kts | 2 +- .../pgpainless/src/main/kotlin/app/passwordstore/crypto/KeyUtils.kt | 2 +- .../src/main/kotlin/app/passwordstore/crypto/PGPDecryptOptions.kt | 5 +++++ .../src/main/kotlin/app/passwordstore/crypto/PGPEncryptOptions.kt | 5 +++++ .../src/main/kotlin/app/passwordstore/crypto/PGPIdentifier.kt | 2 +- crypto/pgpainless/src/main/kotlin/app/passwordstore/crypto/PGPKey.kt | 2 +- .../src/main/kotlin/app/passwordstore/crypto/PGPKeyManager.kt | 2 +- .../main/kotlin/app/passwordstore/crypto/PGPainlessCryptoHandler.kt | 2 +- .../src/test/kotlin/app/passwordstore/crypto/CryptoConstants.kt | 2 +- .../src/test/kotlin/app/passwordstore/crypto/KeyUtilsTest.kt | 5 +++++ .../src/test/kotlin/app/passwordstore/crypto/PGPIdentifierTest.kt | 2 +- .../src/test/kotlin/app/passwordstore/crypto/PGPKeyManagerTest.kt | 5 +++++ .../kotlin/app/passwordstore/crypto/PGPainlessCryptoHandlerTest.kt | 2 +- .../pgpainless/src/test/kotlin/app/passwordstore/crypto/TestUtils.kt | 2 +- 19 files changed, 43 insertions(+), 13 deletions(-) (limited to 'crypto') diff --git a/crypto/common/build.gradle.kts b/crypto/common/build.gradle.kts index 110664bd..e388894b 100644 --- a/crypto/common/build.gradle.kts +++ b/crypto/common/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/crypto/common/src/main/kotlin/app/passwordstore/crypto/CryptoHandler.kt b/crypto/common/src/main/kotlin/app/passwordstore/crypto/CryptoHandler.kt index c823342b..21b893b6 100644 --- a/crypto/common/src/main/kotlin/app/passwordstore/crypto/CryptoHandler.kt +++ b/crypto/common/src/main/kotlin/app/passwordstore/crypto/CryptoHandler.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/crypto/common/src/main/kotlin/app/passwordstore/crypto/CryptoOptions.kt b/crypto/common/src/main/kotlin/app/passwordstore/crypto/CryptoOptions.kt index 1e60cdba..f0d3c7d5 100644 --- a/crypto/common/src/main/kotlin/app/passwordstore/crypto/CryptoOptions.kt +++ b/crypto/common/src/main/kotlin/app/passwordstore/crypto/CryptoOptions.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.crypto /** Defines the contract for a grab-bag of options for individual cryptographic operations. */ diff --git a/crypto/common/src/main/kotlin/app/passwordstore/crypto/KeyManager.kt b/crypto/common/src/main/kotlin/app/passwordstore/crypto/KeyManager.kt index c9db3734..e124e88f 100644 --- a/crypto/common/src/main/kotlin/app/passwordstore/crypto/KeyManager.kt +++ b/crypto/common/src/main/kotlin/app/passwordstore/crypto/KeyManager.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/crypto/common/src/main/kotlin/app/passwordstore/crypto/errors/CryptoException.kt b/crypto/common/src/main/kotlin/app/passwordstore/crypto/errors/CryptoException.kt index c2d3ca4d..c847889f 100644 --- a/crypto/common/src/main/kotlin/app/passwordstore/crypto/errors/CryptoException.kt +++ b/crypto/common/src/main/kotlin/app/passwordstore/crypto/errors/CryptoException.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.crypto.errors import app.passwordstore.crypto.KeyManager diff --git a/crypto/pgpainless/build.gradle.kts b/crypto/pgpainless/build.gradle.kts index bfaff4f7..b147e3ae 100644 --- a/crypto/pgpainless/build.gradle.kts +++ b/crypto/pgpainless/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/crypto/pgpainless/src/main/kotlin/app/passwordstore/crypto/KeyUtils.kt b/crypto/pgpainless/src/main/kotlin/app/passwordstore/crypto/KeyUtils.kt index 5b23dc18..939fed43 100644 --- a/crypto/pgpainless/src/main/kotlin/app/passwordstore/crypto/KeyUtils.kt +++ b/crypto/pgpainless/src/main/kotlin/app/passwordstore/crypto/KeyUtils.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2014-2022 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/crypto/pgpainless/src/main/kotlin/app/passwordstore/crypto/PGPDecryptOptions.kt b/crypto/pgpainless/src/main/kotlin/app/passwordstore/crypto/PGPDecryptOptions.kt index 4596478e..e1e20fb0 100644 --- a/crypto/pgpainless/src/main/kotlin/app/passwordstore/crypto/PGPDecryptOptions.kt +++ b/crypto/pgpainless/src/main/kotlin/app/passwordstore/crypto/PGPDecryptOptions.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.crypto /** [CryptoOptions] implementation for PGPainless decrypt operations. */ diff --git a/crypto/pgpainless/src/main/kotlin/app/passwordstore/crypto/PGPEncryptOptions.kt b/crypto/pgpainless/src/main/kotlin/app/passwordstore/crypto/PGPEncryptOptions.kt index 09531b61..45f658cb 100644 --- a/crypto/pgpainless/src/main/kotlin/app/passwordstore/crypto/PGPEncryptOptions.kt +++ b/crypto/pgpainless/src/main/kotlin/app/passwordstore/crypto/PGPEncryptOptions.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.crypto /** [CryptoOptions] implementation for PGPainless encrypt operations. */ diff --git a/crypto/pgpainless/src/main/kotlin/app/passwordstore/crypto/PGPIdentifier.kt b/crypto/pgpainless/src/main/kotlin/app/passwordstore/crypto/PGPIdentifier.kt index 98a1de2e..e8db12ca 100644 --- a/crypto/pgpainless/src/main/kotlin/app/passwordstore/crypto/PGPIdentifier.kt +++ b/crypto/pgpainless/src/main/kotlin/app/passwordstore/crypto/PGPIdentifier.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2014-2022 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/crypto/pgpainless/src/main/kotlin/app/passwordstore/crypto/PGPKey.kt b/crypto/pgpainless/src/main/kotlin/app/passwordstore/crypto/PGPKey.kt index a33655d4..0ea94b60 100644 --- a/crypto/pgpainless/src/main/kotlin/app/passwordstore/crypto/PGPKey.kt +++ b/crypto/pgpainless/src/main/kotlin/app/passwordstore/crypto/PGPKey.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/crypto/pgpainless/src/main/kotlin/app/passwordstore/crypto/PGPKeyManager.kt b/crypto/pgpainless/src/main/kotlin/app/passwordstore/crypto/PGPKeyManager.kt index cbaa110d..ca411fa3 100644 --- a/crypto/pgpainless/src/main/kotlin/app/passwordstore/crypto/PGPKeyManager.kt +++ b/crypto/pgpainless/src/main/kotlin/app/passwordstore/crypto/PGPKeyManager.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 */ @file:Suppress("BlockingMethodInNonBlockingContext") diff --git a/crypto/pgpainless/src/main/kotlin/app/passwordstore/crypto/PGPainlessCryptoHandler.kt b/crypto/pgpainless/src/main/kotlin/app/passwordstore/crypto/PGPainlessCryptoHandler.kt index 40288ffc..91826001 100644 --- a/crypto/pgpainless/src/main/kotlin/app/passwordstore/crypto/PGPainlessCryptoHandler.kt +++ b/crypto/pgpainless/src/main/kotlin/app/passwordstore/crypto/PGPainlessCryptoHandler.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/crypto/pgpainless/src/test/kotlin/app/passwordstore/crypto/CryptoConstants.kt b/crypto/pgpainless/src/test/kotlin/app/passwordstore/crypto/CryptoConstants.kt index d827e169..95c6714a 100644 --- a/crypto/pgpainless/src/test/kotlin/app/passwordstore/crypto/CryptoConstants.kt +++ b/crypto/pgpainless/src/test/kotlin/app/passwordstore/crypto/CryptoConstants.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/crypto/pgpainless/src/test/kotlin/app/passwordstore/crypto/KeyUtilsTest.kt b/crypto/pgpainless/src/test/kotlin/app/passwordstore/crypto/KeyUtilsTest.kt index a0f84402..4aa83f5f 100644 --- a/crypto/pgpainless/src/test/kotlin/app/passwordstore/crypto/KeyUtilsTest.kt +++ b/crypto/pgpainless/src/test/kotlin/app/passwordstore/crypto/KeyUtilsTest.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.crypto import app.passwordstore.crypto.KeyUtils.isKeyUsable diff --git a/crypto/pgpainless/src/test/kotlin/app/passwordstore/crypto/PGPIdentifierTest.kt b/crypto/pgpainless/src/test/kotlin/app/passwordstore/crypto/PGPIdentifierTest.kt index efc6e0ba..fdd51761 100644 --- a/crypto/pgpainless/src/test/kotlin/app/passwordstore/crypto/PGPIdentifierTest.kt +++ b/crypto/pgpainless/src/test/kotlin/app/passwordstore/crypto/PGPIdentifierTest.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2014-2022 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/crypto/pgpainless/src/test/kotlin/app/passwordstore/crypto/PGPKeyManagerTest.kt b/crypto/pgpainless/src/test/kotlin/app/passwordstore/crypto/PGPKeyManagerTest.kt index 8893d0eb..7603cfe2 100644 --- a/crypto/pgpainless/src/test/kotlin/app/passwordstore/crypto/PGPKeyManagerTest.kt +++ b/crypto/pgpainless/src/test/kotlin/app/passwordstore/crypto/PGPKeyManagerTest.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.crypto import app.passwordstore.crypto.KeyUtils.tryGetId diff --git a/crypto/pgpainless/src/test/kotlin/app/passwordstore/crypto/PGPainlessCryptoHandlerTest.kt b/crypto/pgpainless/src/test/kotlin/app/passwordstore/crypto/PGPainlessCryptoHandlerTest.kt index 55c3faeb..42677337 100644 --- a/crypto/pgpainless/src/test/kotlin/app/passwordstore/crypto/PGPainlessCryptoHandlerTest.kt +++ b/crypto/pgpainless/src/test/kotlin/app/passwordstore/crypto/PGPainlessCryptoHandlerTest.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 */ @file:Suppress("JUnitMalformedDeclaration") // The test runner takes care of it diff --git a/crypto/pgpainless/src/test/kotlin/app/passwordstore/crypto/TestUtils.kt b/crypto/pgpainless/src/test/kotlin/app/passwordstore/crypto/TestUtils.kt index 56c8c1d8..7170b558 100644 --- a/crypto/pgpainless/src/test/kotlin/app/passwordstore/crypto/TestUtils.kt +++ b/crypto/pgpainless/src/test/kotlin/app/passwordstore/crypto/TestUtils.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 */ @file:Suppress("RECEIVER_NULLABILITY_MISMATCH_BASED_ON_JAVA_ANNOTATIONS") -- cgit v1.2.3