diff options
| -rw-r--r-- | CREDITS | 44 | ||||
| -rwxr-xr-x | crypt.sh | 5 | ||||
| -rwxr-xr-x | cryptmenu.sh | 18 | ||||
| -rwxr-xr-x | extension/clip.bash | 21 | ||||
| -rwxr-xr-x | extension/otp.bash | 23 | ||||
| -rwxr-xr-x | extension/prompt.bash | 18 |
6 files changed, 123 insertions, 6 deletions
@@ -0,0 +1,44 @@ +Copyright (C) 2023-2024 Federico Angelilli <mail@fedang.net> + + 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 <https://www.gnu.org/licenses/>. + + +Password Store is Copyright (C) 2012-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. + + 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 2 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. + + +pass otp - Password Store Extension (https://www.passwordstore.org/) +Copyright (C) 2017 Tad Fisher + + 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/>. @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright (C) 2023 Federico Angelilli <mail@fedang.net> +# Copyright (C) 2023 Federico Angelilli <mail@fedang.net> # # 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 @@ -14,6 +14,9 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see <https://www.gnu.org/licenses/>. +# +# The work that is used or that has inspired this project is credited +# in the CREDITS file. umask 077 set -o pipefail diff --git a/cryptmenu.sh b/cryptmenu.sh index c99a155..360945f 100755 --- a/cryptmenu.sh +++ b/cryptmenu.sh @@ -1,5 +1,23 @@ #!/bin/sh # +# Copyright (C) 2023 Federico Angelilli <mail@fedang.net> +# +# 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 <https://www.gnu.org/licenses/>. +# +# The work that is used or that has inspired this project is credited +# in the CREDITS file. + # Script with a dmenu integration for crypt set -o pipefail diff --git a/extension/clip.bash b/extension/clip.bash index b6e572e..4a0e5fe 100755 --- a/extension/clip.bash +++ b/extension/clip.bash @@ -1,11 +1,28 @@ #!/bin/bash - -# The clipboard code was taken from pass +# +# Copyright (C) 2023 Federico Angelilli <mail@fedang.net> +# +# 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 <https://www.gnu.org/licenses/>. +# +# The work that is used or that has inspired this project is credited +# in the CREDITS file. X_SELECTION="${CRYPT_X_SELECTION:-clipboard}" CLIP_TIME="${CRYPT_STORE_CLIP_TIME:-45}" BASE64="base64" +# This function was adapted from pass _clip() { if [[ -n $WAYLAND_DISPLAY ]]; then local copy_cmd=( wl-copy ) diff --git a/extension/otp.bash b/extension/otp.bash index 62045bb..cca88d8 100755 --- a/extension/otp.bash +++ b/extension/otp.bash @@ -1,7 +1,24 @@ #!/bin/bash - -# The OTP parsing code was taken from pass-otp - +# +# Copyright (C) 2023 Federico Angelilli <mail@fedang.net> +# +# 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 <https://www.gnu.org/licenses/>. +# +# The work that is used or that has inspired this project is credited +# in the CREDITS file. + +# The parsing code was adapted from pass-otp _otp_parse() { urldecode() { local url_encoded="${1//+/ }" diff --git a/extension/prompt.bash b/extension/prompt.bash index 26d8f4b..3d31bb1 100755 --- a/extension/prompt.bash +++ b/extension/prompt.bash @@ -1,4 +1,22 @@ #!/bin/bash +# +# Copyright (C) 2023 Federico Angelilli <mail@fedang.net> +# +# 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 <https://www.gnu.org/licenses/>. +# +# The work that is used or that has inspired this project is credited +# in the CREDITS file. single_prompt() { local inp |
