From 3e00cec52295a11e0e8f3c0eb9c461074dcd422f Mon Sep 17 00:00:00 2001 From: Anwesha Das Date: Sun, 25 Sep 2022 17:51:09 +0200 Subject: [PATCH] Adds SPDX License Identifier --- README.md | 2 +- johnnycanencrypt/__init__.py | 3 +++ johnnycanencrypt/exceptions.py | 3 +++ src/lib.rs | 3 +++ src/scard.rs | 3 +++ 5 files changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ef98caa..2f90c84 100644 --- a/README.md +++ b/README.md @@ -47,5 +47,5 @@ Please read the [Introduction](https://johnnycanencrypt.readthedocs.io/en/latest Please go through the [full API documentation](https://johnnycanencrypt.readthedocs.io/en/latest/api.html) for detailed descriptions. -## LICENSE: GPLv3+ +## LICENSE: GPL-3.0-or-later diff --git a/johnnycanencrypt/__init__.py b/johnnycanencrypt/__init__.py index 7341dac..607ee79 100644 --- a/johnnycanencrypt/__init__.py +++ b/johnnycanencrypt/__init__.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2020 Kushal Das +# SPDX-License-Identifier: GPL-3.0-or-later + import os import shutil import sqlite3 diff --git a/johnnycanencrypt/exceptions.py b/johnnycanencrypt/exceptions.py index aaa7381..9cee61d 100644 --- a/johnnycanencrypt/exceptions.py +++ b/johnnycanencrypt/exceptions.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2020 Kushal Das +# SPDX-License-Identifier: GPL-3.0-or-later + class KeyNotFoundError(Exception): pass diff --git a/src/lib.rs b/src/lib.rs index fbc0850..27b0ebe 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2020 Kushal Das +// SPDX-License-Identifier: GPL-3.0-or-later + use openpgp::packet::Signature; use openpgp::KeyHandle; use pyo3::create_exception; diff --git a/src/scard.rs b/src/scard.rs index 803d8e8..d11791f 100644 --- a/src/scard.rs +++ b/src/scard.rs @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2020 Kushal Das +// SPDX-License-Identifier: GPL-3.0-or-later + use crate::openpgp::packet::key; use crate::openpgp::types::SymmetricAlgorithm; use openpgp::crypto;