diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/arg_util.rs | 18 | ||||
| -rw-r--r-- | src/args.rs | 18 | ||||
| -rw-r--r-- | src/commands.rs | 18 | ||||
| -rw-r--r-- | src/config.rs | 18 | ||||
| -rw-r--r-- | src/main.rs | 18 | ||||
| -rw-r--r-- | src/pinentry.rs | 18 | ||||
| -rw-r--r-- | src/redefine.rs | 18 | ||||
| -rw-r--r-- | src/tests/config.rs | 18 | ||||
| -rw-r--r-- | src/tests/encrypted.rs | 18 | ||||
| -rw-r--r-- | src/tests/hidden.rs | 18 | ||||
| -rw-r--r-- | src/tests/list.rs | 18 | ||||
| -rw-r--r-- | src/tests/lock.rs | 18 | ||||
| -rw-r--r-- | src/tests/mod.rs | 18 | ||||
| -rw-r--r-- | src/tests/otp.rs | 18 | ||||
| -rw-r--r-- | src/tests/pin.rs | 18 | ||||
| -rw-r--r-- | src/tests/pws.rs | 18 | ||||
| -rw-r--r-- | src/tests/reset.rs | 18 | ||||
| -rw-r--r-- | src/tests/run.rs | 18 | ||||
| -rw-r--r-- | src/tests/status.rs | 18 | ||||
| -rw-r--r-- | src/tests/unencrypted.rs | 18 |
20 files changed, 40 insertions, 320 deletions
diff --git a/src/arg_util.rs b/src/arg_util.rs index 1c5d38f..b1dd60f 100644 --- a/src/arg_util.rs +++ b/src/arg_util.rs @@ -1,21 +1,7 @@ // arg_util.rs -// ************************************************************************* -// * Copyright (C) 2019-2020 The Nitrocli Developers * -// * * -// * This program is free software: you can redistribute it and/or modify * -// * it under the terms of the GNU General Public License as published by * -// * the Free Software Foundation, either version 3 of the License, or * -// * (at your option) any later version. * -// * * -// * This program is distributed in the hope that it will be useful, * -// * but WITHOUT ANY WARRANTY; without even the implied warranty of * -// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -// * GNU General Public License for more details. * -// * * -// * You should have received a copy of the GNU General Public License * -// * along with this program. If not, see <http://www.gnu.org/licenses/>. * -// ************************************************************************* +// Copyright (C) 2019-2020 The Nitrocli Developers +// SPDX-License-Identifier: GPL-3.0-or-later macro_rules! count { ($head:ident) => { 1 }; diff --git a/src/args.rs b/src/args.rs index 4b12ceb..3052afa 100644 --- a/src/args.rs +++ b/src/args.rs @@ -1,21 +1,7 @@ // args.rs -// ************************************************************************* -// * Copyright (C) 2020 The Nitrocli Developers * -// * * -// * This program is free software: you can redistribute it and/or modify * -// * it under the terms of the GNU General Public License as published by * -// * the Free Software Foundation, either version 3 of the License, or * -// * (at your option) any later version. * -// * * -// * This program is distributed in the hope that it will be useful, * -// * but WITHOUT ANY WARRANTY; without even the implied warranty of * -// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -// * GNU General Public License for more details. * -// * * -// * You should have received a copy of the GNU General Public License * -// * along with this program. If not, see <http://www.gnu.org/licenses/>. * -// ************************************************************************* +// Copyright (C) 2020 The Nitrocli Developers +// SPDX-License-Identifier: GPL-3.0-or-later /// Provides access to a Nitrokey device #[derive(Debug, structopt::StructOpt)] diff --git a/src/commands.rs b/src/commands.rs index 30651c1..67d230e 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -1,21 +1,7 @@ // commands.rs -// ************************************************************************* -// * Copyright (C) 2018-2020 The Nitrocli Developers * -// * * -// * This program is free software: you can redistribute it and/or modify * -// * it under the terms of the GNU General Public License as published by * -// * the Free Software Foundation, either version 3 of the License, or * -// * (at your option) any later version. * -// * * -// * This program is distributed in the hope that it will be useful, * -// * but WITHOUT ANY WARRANTY; without even the implied warranty of * -// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -// * GNU General Public License for more details. * -// * * -// * You should have received a copy of the GNU General Public License * -// * along with this program. If not, see <http://www.gnu.org/licenses/>. * -// ************************************************************************* +// Copyright (C) 2018-2020 The Nitrocli Developers +// SPDX-License-Identifier: GPL-3.0-or-later use std::convert::TryFrom as _; use std::fmt; diff --git a/src/config.rs b/src/config.rs index c0f150c..aceda38 100644 --- a/src/config.rs +++ b/src/config.rs @@ -1,21 +1,7 @@ // config.rs -// ************************************************************************* -// * Copyright (C) 2020 The Nitrocli Developers * -// * * -// * This program is free software: you can redistribute it and/or modify * -// * it under the terms of the GNU General Public License as published by * -// * the Free Software Foundation, either version 3 of the License, or * -// * (at your option) any later version. * -// * * -// * This program is distributed in the hope that it will be useful, * -// * but WITHOUT ANY WARRANTY; without even the implied warranty of * -// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -// * GNU General Public License for more details. * -// * * -// * You should have received a copy of the GNU General Public License * -// * along with this program. If not, see <http://www.gnu.org/licenses/>. * -// ************************************************************************* +// Copyright (C) 2020 The Nitrocli Developers +// SPDX-License-Identifier: GPL-3.0-or-later use std::fs; use std::path; diff --git a/src/main.rs b/src/main.rs index e4ff601..baad15c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,21 +1,7 @@ // main.rs -// ************************************************************************* -// * Copyright (C) 2017-2020 The Nitrocli Developers * -// * * -// * This program is free software: you can redistribute it and/or modify * -// * it under the terms of the GNU General Public License as published by * -// * the Free Software Foundation, either version 3 of the License, or * -// * (at your option) any later version. * -// * * -// * This program is distributed in the hope that it will be useful, * -// * but WITHOUT ANY WARRANTY; without even the implied warranty of * -// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -// * GNU General Public License for more details. * -// * * -// * You should have received a copy of the GNU General Public License * -// * along with this program. If not, see <http://www.gnu.org/licenses/>. * -// ************************************************************************* +// Copyright (C) 2017-2020 The Nitrocli Developers +// SPDX-License-Identifier: GPL-3.0-or-later #