mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-09-03 07:37:16 -04:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4f409f62d6 | ||
|
|
21550ddef2 | ||
|
|
c7dfb6a419 | ||
|
|
cc5d54914c | ||
|
|
b090c24d59 | ||
|
|
d1a994a103 | ||
|
|
6584686b2c | ||
|
|
0109816d3d | ||
|
|
30962b8cb2 | ||
|
|
fbf5ac02a4 | ||
|
|
6649fce7d1 | ||
|
|
6375a086cc | ||
|
|
43a53070a8 | ||
|
|
16f1225621 | ||
|
|
99cf9b7413 | ||
|
|
7d26170d7f | ||
|
|
6907c10f81 | ||
|
|
a5d36bf6b4 | ||
|
|
24ae771b85 | ||
|
|
0429070b5d | ||
|
|
6aa9a663b5 | ||
|
|
2c17a6b711 | ||
|
|
b649ae2c16 | ||
|
|
a0b533d9dd | ||
|
|
4c78ffb0de | ||
|
|
a2f2525df1 | ||
|
|
eefedde98c | ||
|
|
12cbcdd9af | ||
|
|
5219bf0448 | ||
|
|
a91c48533c | ||
|
|
e22066f015 | ||
|
|
d1cc6fe3e6 | ||
|
|
f9ad813ce6 | ||
|
|
bee3149c74 | ||
|
|
ccee566a22 | ||
|
|
e511159a6c | ||
|
|
f5bbe9516c | ||
|
|
6bbb84e1c0 | ||
|
|
39dbc1c83d | ||
|
|
1d969cc1f1 | ||
|
|
c5dd735f7a | ||
|
|
bf8adfc1c1 | ||
|
|
764d165ad4 | ||
|
|
9928a43d6a | ||
|
|
25121f3a5c | ||
|
|
2c78a1456c | ||
|
|
6173a11710 | ||
|
|
52e41dfab8 | ||
|
|
8b0f25479d | ||
|
|
0a210d0395 | ||
|
|
d29bee2d45 | ||
|
|
052a489bec | ||
|
|
b458265fd1 | ||
|
|
c916a738a2 | ||
|
|
9c5b007946 | ||
|
|
ff1c984024 | ||
|
|
164c719b90 | ||
|
|
d49ce1bb87 | ||
|
|
800a1181f8 | ||
|
|
d9414dbcdf | ||
|
|
0869b83505 | ||
|
|
7dfa12012a |
@@ -12,8 +12,6 @@ sshyp is a very simple self-hosted, synchronized password manager for UNIX(-like
|
|||||||
|
|
||||||
sshyp is compatible with entries created by pass/password-store, as its original goal was to be like pass/password-store, but far more user-friendly to synchronize with a self-hosted server.
|
sshyp is compatible with entries created by pass/password-store, as its original goal was to be like pass/password-store, but far more user-friendly to synchronize with a self-hosted server.
|
||||||
|
|
||||||
sshyp is (as of writing) the only password-store compatible CLI password manager available for Haiku.
|
|
||||||
|
|
||||||
sshyp makes use of a custom sftp wrapper, called sshync (ssh+sync), to reliably sync user entries with a local or remote server.
|
sshyp makes use of a custom sftp wrapper, called sshync (ssh+sync), to reliably sync user entries with a local or remote server.
|
||||||
|
|
||||||
The name "sshyp" is a combination of its syncing library, "sshync", and "passwords".
|
The name "sshyp" is a combination of its syncing library, "sshync", and "passwords".
|
||||||
@@ -33,26 +31,21 @@ What sshyp can do:
|
|||||||
- securely sync said passwords and notes seamlessly between devices (or just manage them offline)
|
- securely sync said passwords and notes seamlessly between devices (or just manage them offline)
|
||||||
- utilize [extensions](https://github.com/rwinkhart/sshyp-labs) to interact with your entries is additional ways (such as generating TOTP keys or managing your entries in a GUI)
|
- utilize [extensions](https://github.com/rwinkhart/sshyp-labs) to interact with your entries is additional ways (such as generating TOTP keys or managing your entries in a GUI)
|
||||||
- everything above with entries created by pass/password-store!
|
- everything above with entries created by pass/password-store!
|
||||||
- everything above on Haiku, FreeBSD, Linux, and Termux (an Android terminal emulator)!
|
- everything above on Haiku, FreeBSD, Linux, and Termux!
|
||||||
|
|
||||||
What sshyp definitely won't do:
|
|
||||||
|
|
||||||
- Non-UNIX(-like) support, e.g. Windows (I'd be happy to link to third-party ports, if someone were to make them)
|
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
|
**Important:** *Bash completions will NOT function until you install your distribution's "bash-completion" package or manually source the Bash completion script.*
|
||||||
|
*A restart of your terminal is required after installing "bash-completion".*
|
||||||
|
|
||||||
Please see the [installation guide](https://github.com/rwinkhart/sshyp/wiki/Installation) in the sshyp wiki for directions specific to your distribution/OS.
|
Please see the [installation guide](https://github.com/rwinkhart/sshyp/wiki/Installation) in the sshyp wiki for directions specific to your distribution/OS.
|
||||||
|
|
||||||
Pre-built packages exist for Haiku, FreeBSD, Alpine Linux, Arch Linux, Debian/Ubuntu Linux, Fedora Linux, and Termux. These can be downloaded from the releases page.
|
Pre-built packages exist for Haiku, FreeBSD, Alpine Linux, Arch Linux, Debian/Ubuntu Linux, Fedora Linux, and Termux. These can be downloaded from the releases page.
|
||||||
|
|
||||||
Requests for additional distribution/OS support can be filed as issues.
|
Support for additional environments, such as MacOS and OpenBSD, is coming soon.
|
||||||
|
|
||||||
Extensions are available in the [sshyp-labs](https://github.com/rwinkhart/sshyp-labs) repository.
|
Extensions are available in the [sshyp-labs](https://github.com/rwinkhart/sshyp-labs) repository.
|
||||||
|
|
||||||
Bash completions can be enabled by installing your distribution's "bash-completion" package and restarting your terminal.
|
|
||||||
|
|
||||||
# Building
|
# Building
|
||||||
Since sshyp is written entirely in Python, it doesn't need to be compiled. It does, however, need to be packaged for installation.
|
|
||||||
|
|
||||||
A packaging script is included in the root directory of the repo in order to package sshyp for your distribution. To package sshyp from source, simply run:
|
A packaging script is included in the root directory of the repo in order to package sshyp for your distribution. To package sshyp from source, simply run:
|
||||||
|
|
||||||
```
|
```
|
||||||
@@ -61,11 +54,11 @@ cd sshyp
|
|||||||
./package.sh [target] <revision>
|
./package.sh [target] <revision>
|
||||||
```
|
```
|
||||||
|
|
||||||
The packaging script has been tested on Arch Linux with "dpkg" as a dependency for Debian/Ubuntu and Termux packaging and "freebsd-pkg" as a dependency for FreeBSD packaging.
|
The packaging script has been tested on Arch Linux with "dpkg" as a dependency for Debian/Ubuntu/Termux packaging and "freebsd-pkg" as a dependency for FreeBSD packaging.
|
||||||
|
|
||||||
Haiku and Fedora packaging must be done on their own respective distributions.
|
Haiku and Fedora packaging must be done on their own respective distributions.
|
||||||
|
|
||||||
The AUR version and the packages attatched to the release tags were already packaged using this script.
|
The AUR version and the packages attached to the release tags were already packaged using this script.
|
||||||
|
|
||||||
Currently, the script can create packages for Haiku, FreeBSD, Alpine Linux (APKBUILD), Arch Linux (PKGBUILD), Debian/Ubuntu Linux, Fedora Linux, Termux, and generic.
|
Currently, the script can create packages for Haiku, FreeBSD, Alpine Linux (APKBUILD), Arch Linux (PKGBUILD), Debian/Ubuntu Linux, Fedora Linux, Termux, and generic.
|
||||||
|
|
||||||
@@ -78,12 +71,12 @@ sshyp tweak
|
|||||||
|
|
||||||
This command will allow you to configure the settings necessary for sshyp to function. To ensure configuration compatibility, it is a good idea to run 'sshyp tweak' after each major update.
|
This command will allow you to configure the settings necessary for sshyp to function. To ensure configuration compatibility, it is a good idea to run 'sshyp tweak' after each major update.
|
||||||
|
|
||||||
Please note that decrypting and reading entries is disabled on server devices for security reasons. Only devices configured as clients can use the gpg key to decrypt entries.
|
Please note that decrypting and reading entries is disabled on server devices for security reasons. Only devices configured as clients can use the GPG key to decrypt entries.
|
||||||
|
|
||||||
All available options can be found with:
|
All available options can be found with:
|
||||||
|
|
||||||
```
|
```
|
||||||
sshyp --help
|
sshyp help
|
||||||
```
|
```
|
||||||
|
|
||||||
Or alternatively, in the man page:
|
Or alternatively, in the man page:
|
||||||
@@ -95,8 +88,9 @@ man sshyp
|
|||||||
# Roadmap
|
# Roadmap
|
||||||
Short-term Goals:
|
Short-term Goals:
|
||||||
|
|
||||||
|
- MacOS support
|
||||||
|
- improved temporary directory security
|
||||||
- a minimal GUI app - being made as an [extension](https://github.com/rwinkhart/sshyp-labs)
|
- a minimal GUI app - being made as an [extension](https://github.com/rwinkhart/sshyp-labs)
|
||||||
- improved extension integration (allow extensions to add new arguments)
|
|
||||||
|
|
||||||
Long-term Goals:
|
Long-term Goals:
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,55 @@
|
|||||||
|
sshyp v1.4.0
|
||||||
|
|
||||||
|
the argumentative agronomist update
|
||||||
|
|
||||||
|
this release overhauls sshyp's argument system and further streamlines
|
||||||
|
the experience with optimizations and the removal of legacy features
|
||||||
|
|
||||||
|
compatibility-breaking changes:
|
||||||
|
|
||||||
|
- there are no technical breaking changes, but the UX has changed significantly due to the new argument system (detailed below)
|
||||||
|
|
||||||
|
user-facing features:
|
||||||
|
|
||||||
|
- when typing an entry/folder name, it is now always the FIRST argument
|
||||||
|
^ e.g. instead of "sshyp copy -p /example/test", it would now be "sshyp /example/test copy -p"
|
||||||
|
^ this allows more easily editing the previous command to copy/edit a different field
|
||||||
|
- better extension integration
|
||||||
|
^ extensions can now ship with a config file that sshyp can use to call them from standard sshyp arguments
|
||||||
|
^ the first extension supporting this is sshyp-mfa
|
||||||
|
^ if sshyp-mfa v1.4.0.1+ is installed, "sshyp /example/test copy -m" will copy MFA keys to your clipboard
|
||||||
|
- entry/folder names now MUST be specified as arguments
|
||||||
|
^ there is no longer a separate input prompt if the entry/folder name is not provided as an argument
|
||||||
|
^ the input prompt was a legacy feature from before arguments could specify entrys/folders with shell completion
|
||||||
|
^ the entry list generated by entry_list_gen() is still present and can be viewed by running "sshyp" with no arguments
|
||||||
|
- better Bash completions
|
||||||
|
^ now correctly places backslashes to escape spaces in entry/folder names
|
||||||
|
^ slightly faster than the previous iteration
|
||||||
|
- IPv6 configuration support
|
||||||
|
|
||||||
|
fixes/optimizations:
|
||||||
|
|
||||||
|
- replaced "+=" with ".append" when extending lists to prevent creating an additional list
|
||||||
|
- optimized usage of "str.split()" and replaced it with "str.splitlines()" where applicable
|
||||||
|
- more concise "if... in ()" syntax replaces long "if" statement chains
|
||||||
|
- lists have been substituted with tuples where applicable
|
||||||
|
- entry_list_gen() has been re-written to be much smaller and faster
|
||||||
|
- os.path is now used in place of pathlib.Path in areas where it is faster
|
||||||
|
- the user's home directory is saved to a variable to prevent running expanduser() every time it is needed
|
||||||
|
|
||||||
|
other notable changes:
|
||||||
|
|
||||||
|
- removed some uncommonly used, redundant arguments
|
||||||
|
^ e.g. "-rm", "-s", "delete"
|
||||||
|
^ their functionality was NOT removed, just their redundant arguments, since "shear", "sync", and "del" are the accepted syntax
|
||||||
|
- errors containing entry/folder names reinforce correct syntax by adding leading/following slashes where necessary
|
||||||
|
- thanks to pull request #25, there are new error messages for the read shortcut
|
||||||
|
^ includes when no entry name is provided or the entry name only refers to a directory
|
||||||
|
- directories provided in user input are no longer denoted by a following slash
|
||||||
|
^ instead, os.path is used to determine if the user is referring to a file or directory
|
||||||
|
|
||||||
|
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
|
||||||
|
|
||||||
sshyp v1.3.0
|
sshyp v1.3.0
|
||||||
|
|
||||||
the serious shepherd update
|
the serious shepherd update
|
||||||
|
|||||||
+21
-23
@@ -1,10 +1,10 @@
|
|||||||
.TH sshyp 1 "14 December 2022" "v1.3.0" "sshyp man page"
|
.TH sshyp 1 "04 March 2023" "v1.4.0" "sshyp man page"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
sshyp \- A very simple self-hosted, synchronized password manager for UNIX(-like) systems. Alternative to (and compatible with) pass/password-store.
|
sshyp \- A very simple self-hosted, synchronized password manager for UNIX(-like) systems. Alternative to (and compatible with) pass/password-store.
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
Client Usage: sshyp [option [flag] [<entry name>]] | [/<entry name>]
|
Client Usage: sshyp [</entry name> [option] [flag]] [option]
|
||||||
|
|
||||||
Server Usage: sshyp [option [flag] [<device id>]]
|
Server Usage: sshyp <option> [flag] [<device id>]
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
sshyp is a lightweight password and note management program written in Python. sshyp is used via CLI and is self-hosted with a client-server model. sshyp expects that you have access to a personal server with a properly configured ssh server, ideally accepting remote connections.
|
sshyp is a lightweight password and note management program written in Python. sshyp is used via CLI and is self-hosted with a client-server model. sshyp expects that you have access to a personal server with a properly configured ssh server, ideally accepting remote connections.
|
||||||
.SH EXAMPLES (CLIENT)
|
.SH EXAMPLES (CLIENT)
|
||||||
@@ -18,22 +18,22 @@ Reading an existing entry saved as ~/.local/share/sshyp/development/github.gpg:
|
|||||||
sshyp /development/github
|
sshyp /development/github
|
||||||
|
|
||||||
Copying the password of an existing entry saved as ~/.local/share/sshyp/financial/bank.gpg:
|
Copying the password of an existing entry saved as ~/.local/share/sshyp/financial/bank.gpg:
|
||||||
sshyp copy -p /financial/bank
|
sshyp /financial/bank copy -p
|
||||||
|
|
||||||
Editing the username of an existing entry saved as ~/.local/share/sshyp/game.gpg:
|
Editing the username of an existing entry saved as ~/.local/share/sshyp/game.gpg:
|
||||||
sshyp edit -u game
|
sshyp /game edit -u
|
||||||
|
|
||||||
Making a new entry saved as ~/.local/share/sshyp/school/university.gpg using the built-in password generator:
|
Making a new entry saved as ~/.local/share/sshyp/school/university.gpg using the built-in password generator:
|
||||||
sshyp gen /school/university
|
sshyp /school/university gen
|
||||||
|
|
||||||
Creating a note-only entry saved as ~/.local/share/sshyp/notes/testNote.gpg:
|
Creating a note-only entry saved as ~/.local/share/sshyp/notes/test note.gpg:
|
||||||
sshyp add -n /notes/testNote
|
sshyp /notes/test\ note add -n
|
||||||
|
|
||||||
Manually syncing entries with the server:
|
Manually syncing entries with the server:
|
||||||
sshyp sync
|
sshyp sync
|
||||||
|
|
||||||
Removing an existing folder saved as ~/.local/share/sshyp/social:
|
Removing an existing folder saved as ~/.local/share/sshyp/social:
|
||||||
sshyp shear social/
|
sshyp /social/ shear
|
||||||
.SH EXAMPLES (SERVER)
|
.SH EXAMPLES (SERVER)
|
||||||
Setting up the quick-unlock whitelist:
|
Setting up the quick-unlock whitelist:
|
||||||
sshyp whitelist setup
|
sshyp whitelist setup
|
||||||
@@ -41,21 +41,21 @@ Setting up the quick-unlock whitelist:
|
|||||||
Checking the quick-unlock whitelist status of all registered client devices:
|
Checking the quick-unlock whitelist status of all registered client devices:
|
||||||
sshyp whitelist list
|
sshyp whitelist list
|
||||||
|
|
||||||
Adding a device with the id "laptop-im|lAoa;&;r&o:ez((g/Dz;EVb.nO_" to the quick-unlock whitelist:
|
Adding a device with the id 'laptop-im|lAoa;&;r&o:ez((g/Dz;EVb.nO_' to the quick-unlock whitelist:
|
||||||
sshyp whitelist add 'laptop-im|lAoa;&;r&o:ez((g/Dz;EVb.nO_'
|
sshyp whitelist add 'laptop-im|lAoa;&;r&o:ez((g/Dz;EVb.nO_'
|
||||||
|
|
||||||
Removing a device with the id "laptop-im|lAoa;&;r&o:ez((g/Dz;EVb.nO_" from the quick-unlock whitelist:
|
Removing a device with the id 'laptop-im|lAoa;&;r&o:ez((g/Dz;EVb.nO_' from the quick-unlock whitelist:
|
||||||
sshyp whitelist del 'laptop-im|lAoa;&;r&o:ez((g/Dz;EVb.nO_'
|
sshyp whitelist del 'laptop-im|lAoa;&;r&o:ez((g/Dz;EVb.nO_'
|
||||||
.SH OPTIONS (CLIENT)
|
.SH OPTIONS (CLIENT)
|
||||||
help/--help/-h bring up the help menu
|
help/-h bring up the help menu
|
||||||
version/-v display sshyp version info
|
version/-v display sshyp version info
|
||||||
tweak configure sshyp
|
tweak configure sshyp
|
||||||
add add an entry
|
add add an entry
|
||||||
gen generate a new password
|
gen generate a new password
|
||||||
edit edit an existing entry
|
edit edit an existing entry
|
||||||
copy copy details of an entry to your clipboard
|
copy copy details of an entry to your clipboard
|
||||||
shear/-rm delete an existing entry
|
shear delete an existing entry
|
||||||
sync/-s manually sync the entry directory via sshync
|
sync manually sync the entry directory via sshync
|
||||||
.SH FLAGS (CLIENT)
|
.SH FLAGS (CLIENT)
|
||||||
add:
|
add:
|
||||||
password/-p add a password entry
|
password/-p add a password entry
|
||||||
@@ -78,7 +78,7 @@ copy:
|
|||||||
gen:
|
gen:
|
||||||
update/-u generate a password for an existing entry
|
update/-u generate a password for an existing entry
|
||||||
.SH OPTIONS (SERVER)
|
.SH OPTIONS (SERVER)
|
||||||
help/--help/-h bring up this menu
|
help/-h bring up this menu
|
||||||
version/-v display sshyp version info
|
version/-v display sshyp version info
|
||||||
tweak configure sshyp
|
tweak configure sshyp
|
||||||
whitelist manage the quick-unlock whitelist
|
whitelist manage the quick-unlock whitelist
|
||||||
@@ -87,7 +87,7 @@ whitelist:
|
|||||||
setup set up the quick-unlock whitelist
|
setup set up the quick-unlock whitelist
|
||||||
list/-l view all registered device ids and their quick-unlock whitelist status
|
list/-l view all registered device ids and their quick-unlock whitelist status
|
||||||
add whitelist a device id for quick-unlock
|
add whitelist a device id for quick-unlock
|
||||||
delete/del remove a device id from the quick-unlock whitelist
|
del remove a device id from the quick-unlock whitelist
|
||||||
.SH SETUP
|
.SH SETUP
|
||||||
sshyp operates on a client-server model, and thus requires you to have access to your own server (whether it be a physical home server or a cloud rental) with remote access via SSH.
|
sshyp operates on a client-server model, and thus requires you to have access to your own server (whether it be a physical home server or a cloud rental) with remote access via SSH.
|
||||||
|
|
||||||
@@ -113,16 +113,14 @@ Please note that the server setup intentionally does not allow the reading of en
|
|||||||
.SH EXIT CODES
|
.SH EXIT CODES
|
||||||
0 - no error
|
0 - no error
|
||||||
|
|
||||||
1 - argument error
|
1 - configuration error
|
||||||
|
|
||||||
2 - configuration error
|
2 - data not found error
|
||||||
|
|
||||||
3 - data not found error
|
3 - data already exists error
|
||||||
|
|
||||||
4 - data already exists error
|
4 - decryption/encryption error
|
||||||
|
|
||||||
5 - decryption/encryption error
|
5 - server connection error
|
||||||
|
|
||||||
6 - server connection error
|
|
||||||
.SH AUTHOR
|
.SH AUTHOR
|
||||||
Randall Winkhart (https://github.com/rwinkhart)
|
Randall Winkhart (https://github.com/rwinkhart)
|
||||||
|
|||||||
+23
-29
@@ -3,10 +3,9 @@
|
|||||||
_path_gen() {
|
_path_gen() {
|
||||||
local sshyp_path="$HOME/.local/share/sshyp"
|
local sshyp_path="$HOME/.local/share/sshyp"
|
||||||
local sshyp_path_length="$(("${#sshyp_path}" + 1))"
|
local sshyp_path_length="$(("${#sshyp_path}" + 1))"
|
||||||
readarray -t full_paths < <(find "$sshyp_path" -type f -exec ls {} \;)
|
mapfile -t full_paths < <(find "$sshyp_path" -type f -exec ls {} \;)
|
||||||
for path in "${full_paths[@]}"; do
|
for path in "${full_paths[@]}"; do
|
||||||
trimmed_path=$(echo ${path%????} | cut -c"$sshyp_path_length"-)
|
trimmed_path=$(echo ${path%????} | cut -c"$sshyp_path_length"-)
|
||||||
trimmed_path=$(echo ${trimmed_path// /\\ })
|
|
||||||
trimmed_paths+=("$trimmed_path")
|
trimmed_paths+=("$trimmed_path")
|
||||||
done
|
done
|
||||||
} &&
|
} &&
|
||||||
@@ -15,36 +14,31 @@ _path_gen() {
|
|||||||
# completely (https://github.com/dannyben/completely)
|
# completely (https://github.com/dannyben/completely)
|
||||||
|
|
||||||
_sshyp_completions() {
|
_sshyp_completions() {
|
||||||
if [ "${#COMP_WORDS[@]}" -gt "4" ]; then
|
local cur=${COMP_WORDS[COMP_CWORD]}
|
||||||
|
local compwords=("${COMP_WORDS[@]:1:$COMP_CWORD-1}")
|
||||||
|
local compline="${compwords[*]}"
|
||||||
|
|
||||||
|
if [ "${#COMP_WORDS[@]}" -gt "2" ] && echo "${COMP_WORDS[@]}" | grep -q 'shear'; then
|
||||||
|
return
|
||||||
|
elif [ "${#COMP_WORDS[@]}" -gt "3" ] && (! echo "${COMP_WORDS[@]}" | grep -q '/' || echo "${COMP_WORDS[@]}" | grep -q 'shear'); then
|
||||||
|
return
|
||||||
|
elif [ "${#COMP_WORDS[@]}" -gt "4" ]; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
local cur=${COMP_WORDS[COMP_CWORD]}
|
|
||||||
local compline="${COMP_WORDS[@]:1:$COMP_CWORD-1}"
|
|
||||||
|
|
||||||
case "$compline" in
|
if [[ "$compline" == *'edit'* ]]; then
|
||||||
'add password'* | 'add -p'* | 'add note'* | 'add -n'* | 'add folder'*| 'add -f'* | 'edit relocate'* | 'edit -r'* | 'edit username'* | 'edit -u'* | 'edit password'* | 'edit -p'* | 'edit url'* | 'edit -l'* | 'edit note'* | 'edit -n'* | 'copy username'* | 'copy -u'* | 'copy password'* | 'copy -p'* | 'copy note'* | 'copy -n'* | 'copy url'* | 'copy -l'* | 'gen update'* | 'gen -u'*)
|
while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "relocate username password note url" -- "$cur" )
|
||||||
while read; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(printf "'%s' " "${trimmed_paths[@]}")" -- "$cur" )
|
elif [[ "$compline" == *'copy'* ]]; then
|
||||||
;;
|
while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "username password url note" -- "$cur" )
|
||||||
|
elif [[ "$compline" == *'add'* ]]; then
|
||||||
|
while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "password note folder" -- "$cur" )
|
||||||
|
elif [[ "$compline" == *'gen'* ]]; then
|
||||||
|
while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "update" -- "$cur" )
|
||||||
|
elif [[ "$compline" == '/'* ]]; then
|
||||||
|
while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "add gen edit copy shear" -- "$cur" )
|
||||||
|
else
|
||||||
|
while read -r; do ITEM=${REPLY// /\\ }; COMPREPLY+=( "$ITEM" ); done < <( compgen -W "help version tweak add gen edit copy shear sync $(printf "'%s' " "${trimmed_paths[@]}")" -- "$cur" )
|
||||||
|
fi
|
||||||
|
|
||||||
'edit'*)
|
|
||||||
while read; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "relocate username password note url" -- "$cur" )
|
|
||||||
;;
|
|
||||||
|
|
||||||
'copy'*)
|
|
||||||
while read; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "username password url note" -- "$cur" )
|
|
||||||
;;
|
|
||||||
|
|
||||||
'add'*)
|
|
||||||
while read; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "password note folder" -- "$cur" )
|
|
||||||
;;
|
|
||||||
|
|
||||||
'gen'*)
|
|
||||||
while read; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "update" -- "$cur" )
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
while read; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "help version tweak add gen edit copy shear sync $(printf "'%s' " "${trimmed_paths[@]}")" -- "$cur" )
|
|
||||||
;;
|
|
||||||
|
|
||||||
esac
|
|
||||||
} &&
|
} &&
|
||||||
_path_gen && complete -F _sshyp_completions sshyp
|
_path_gen && complete -F _sshyp_completions sshyp
|
||||||
|
|||||||
+21
-19
@@ -1,28 +1,29 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
from os import listdir, remove, walk
|
from os import listdir, remove, walk
|
||||||
from os.path import expanduser, getmtime, join
|
from os.path import expanduser, isdir, getmtime, join
|
||||||
from subprocess import CalledProcessError, PIPE, run
|
from subprocess import CalledProcessError, PIPE, run
|
||||||
from sys import exit as s_exit
|
from sys import exit as s_exit
|
||||||
|
home = expanduser("~")
|
||||||
|
|
||||||
|
|
||||||
# REMOTE
|
# REMOTE
|
||||||
|
|
||||||
def remote_list_gen(_client_device_name, _remote_dir): # prints all necessary remote data to stdout
|
def remote_list_gen(_client_device_name, _remote_dir): # prints all necessary remote data to stdout
|
||||||
# deletions
|
# deletions
|
||||||
for _file in listdir(expanduser('~/.config/sshyp/deleted')):
|
for _file in listdir(f"{home}/.config/sshyp/deleted"):
|
||||||
_file_path, _sep, _device = _file.partition('\x1f')
|
_file_path, _sep, _device = _file.partition('\x1f')
|
||||||
_file_path = _file_path.replace('\x1e', '/')
|
_file_path = _file_path.replace('\x1e', '/')
|
||||||
if _device == _client_device_name:
|
if _device == _client_device_name:
|
||||||
print(_file_path)
|
print(_file_path)
|
||||||
try:
|
try:
|
||||||
remove(f"{expanduser('~/.config/sshyp/deleted/')}{_file}")
|
remove(f"{home}/.config/sshyp/deleted/{_file}")
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
pass
|
pass
|
||||||
print('\x1d')
|
print('\x1d')
|
||||||
# folders
|
# folders
|
||||||
for _root, _directories, _files in walk(expanduser('~/.local/share/sshyp')):
|
for _root, _directories, _files in walk(f"{home}/.local/share/sshyp"):
|
||||||
for _dir in _directories:
|
for _dir in _directories:
|
||||||
print(f"{_root.replace(expanduser('~'), '')}/{_dir}")
|
print(f"{_root.replace(home, '')}/{_dir}")
|
||||||
print('\x1d')
|
print('\x1d')
|
||||||
get_local_data(_remote_dir, 'server') # titles and mod times
|
get_local_data(_remote_dir, 'server') # titles and mod times
|
||||||
|
|
||||||
@@ -31,16 +32,17 @@ def remote_list_gen(_client_device_name, _remote_dir): # prints all necessary r
|
|||||||
|
|
||||||
def delete(_file_path, _target_database): # deletes a file or folder and/or marks it for deletion upon syncing
|
def delete(_file_path, _target_database): # deletes a file or folder and/or marks it for deletion upon syncing
|
||||||
from shutil import rmtree
|
from shutil import rmtree
|
||||||
|
_directory = f"{home}/.local/share/sshyp/"
|
||||||
try:
|
try:
|
||||||
if _file_path.endswith('/'):
|
if isdir(_directory + _file_path):
|
||||||
rmtree(f"{expanduser('~/.local/share/sshyp/')}{_file_path}")
|
rmtree(_directory + _file_path)
|
||||||
else:
|
else:
|
||||||
remove(f"{expanduser('~/.local/share/sshyp/')}{_file_path}.gpg")
|
remove(f"{_directory}{_file_path}.gpg")
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
print(f"location does not exist {_target_database}")
|
print(f"location does not exist {_target_database}")
|
||||||
if _target_database == 'remotely':
|
if _target_database == 'remotely':
|
||||||
for _device_name in listdir(expanduser('~/.config/sshyp/devices')):
|
for _device_name in listdir(f"{home}/.config/sshyp/devices"):
|
||||||
open(expanduser('~/.config/sshyp/deleted/') + _file_path.replace('/', '\x1e') + '\x1f' + _device_name, 'w')
|
open(f"{home}/.config/sshyp/deleted/" + _file_path.replace('/', '\x1e') + '\x1f' + _device_name, 'w')
|
||||||
|
|
||||||
|
|
||||||
def get_local_data(_directory, _device): # retrieves and returns titles and mod times from the local device
|
def get_local_data(_directory, _device): # retrieves and returns titles and mod times from the local device
|
||||||
@@ -68,10 +70,10 @@ def remote_list_fetch(_user_data): # captures and returns all necessary data fr
|
|||||||
except CalledProcessError:
|
except CalledProcessError:
|
||||||
print('\n\u001b[38;5;9merror: failed to connect to the remote server\u001b[0m\n')
|
print('\n\u001b[38;5;9merror: failed to connect to the remote server\u001b[0m\n')
|
||||||
_remote_data = ''
|
_remote_data = ''
|
||||||
s_exit(6)
|
s_exit(5)
|
||||||
_deletion_database = _remote_data[0].strip().split('\n')
|
_deletion_database = _remote_data[0].strip().splitlines()
|
||||||
_folder_database = _remote_data[1].strip().split('\n')
|
_folder_database = _remote_data[1].strip().splitlines()
|
||||||
_titles_mods = _remote_data[2].strip().split('\n')
|
_titles_mods = _remote_data[2].strip().splitlines()
|
||||||
return _deletion_database, _folder_database, _titles_mods[:len(_titles_mods)//2], \
|
return _deletion_database, _folder_database, _titles_mods[:len(_titles_mods)//2], \
|
||||||
_titles_mods[len(_titles_mods)//2:]
|
_titles_mods[len(_titles_mods)//2:]
|
||||||
|
|
||||||
@@ -79,7 +81,7 @@ def remote_list_fetch(_user_data): # captures and returns all necessary data fr
|
|||||||
def deletion_sync(_deletion_database, _silent): # checks for and acts upon files and folders marked for deletion
|
def deletion_sync(_deletion_database, _silent): # checks for and acts upon files and folders marked for deletion
|
||||||
for _file in _deletion_database:
|
for _file in _deletion_database:
|
||||||
if _file != '':
|
if _file != '':
|
||||||
if _silent != 1:
|
if not _silent:
|
||||||
print(f"\u001b[38;5;208m{_file}\u001b[0m has been sheared, removing...")
|
print(f"\u001b[38;5;208m{_file}\u001b[0m has been sheared, removing...")
|
||||||
delete(_file, 'locally')
|
delete(_file, 'locally')
|
||||||
|
|
||||||
@@ -87,10 +89,10 @@ def deletion_sync(_deletion_database, _silent): # checks for and acts upon file
|
|||||||
def folder_sync(_folder_database): # creates matches of remote folders on the local client
|
def folder_sync(_folder_database): # creates matches of remote folders on the local client
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
for _folder in _folder_database:
|
for _folder in _folder_database:
|
||||||
if _folder != '' and not Path(f"{expanduser('~')}{_folder}").is_dir():
|
if _folder != '' and not isdir(home + _folder):
|
||||||
print(f"\u001b[38;5;2m{_folder.replace('/.local/share/sshyp/', '')}/\u001b[0m does not exist locally, "
|
print(f"\u001b[38;5;2m{_folder.replace('/.local/share/sshyp/', '')}/\u001b[0m does not exist locally, "
|
||||||
f"creating...")
|
f"creating...")
|
||||||
Path(f"{expanduser('~')}{_folder}").mkdir(mode=0o700, parents=True, exist_ok=True)
|
Path(home + _folder).mkdir(mode=0o700, parents=True, exist_ok=True)
|
||||||
|
|
||||||
|
|
||||||
def sort_titles_mods(_list_1, _list_2): # creates and returns two lists (of titles and mod times) generated by sorting
|
def sort_titles_mods(_list_1, _list_2): # creates and returns two lists (of titles and mod times) generated by sorting
|
||||||
@@ -119,14 +121,14 @@ def get_profile(_profile_dir): # returns a list of data read from a sshync job
|
|||||||
except (FileNotFoundError, IndexError):
|
except (FileNotFoundError, IndexError):
|
||||||
print('\n\u001b[38;5;9merror: the profile does not exist or is corrupted\u001b[0m\n')
|
print('\n\u001b[38;5;9merror: the profile does not exist or is corrupted\u001b[0m\n')
|
||||||
_profile_data = None
|
_profile_data = None
|
||||||
s_exit(3)
|
s_exit(2)
|
||||||
_user = _profile_data[0].rstrip()
|
_user = _profile_data[0].rstrip()
|
||||||
_ip = _profile_data[1].rstrip()
|
_ip = _profile_data[1].rstrip()
|
||||||
_port = _profile_data[2].rstrip()
|
_port = _profile_data[2].rstrip()
|
||||||
_local_dir = _profile_data[3].rstrip()
|
_local_dir = _profile_data[3].rstrip()
|
||||||
_remote_dir = _profile_data[4].rstrip()
|
_remote_dir = _profile_data[4].rstrip()
|
||||||
_identity = _profile_data[5].rstrip()
|
_identity = _profile_data[5].rstrip()
|
||||||
_client_device_id = listdir(expanduser('~/.config/sshyp/devices'))[0].rstrip()
|
_client_device_id = listdir(f"{home}/.config/sshyp/devices")[0].rstrip()
|
||||||
return _user, _ip, _port, _local_dir, _remote_dir, _identity, _client_device_id
|
return _user, _ip, _port, _local_dir, _remote_dir, _identity, _client_device_id
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+352
-402
File diff suppressed because it is too large
Load Diff
+7
-7
@@ -9,7 +9,7 @@ fi
|
|||||||
|
|
||||||
_create_generic() {
|
_create_generic() {
|
||||||
echo -e '\npackaging as generic...\n'
|
echo -e '\npackaging as generic...\n'
|
||||||
mkdir -p output/generictemp/usr/{bin,lib/sshyp,share/{man/man1,bash-completion/completions}}
|
mkdir -p output/generictemp/usr/{bin,lib/sshyp/extensions,share/{man/man1,bash-completion/completions}}
|
||||||
cp -r lib/. output/generictemp/usr/lib/sshyp/
|
cp -r lib/. output/generictemp/usr/lib/sshyp/
|
||||||
ln -s /usr/lib/sshyp/sshyp.py output/generictemp/usr/bin/sshyp
|
ln -s /usr/lib/sshyp/sshyp.py output/generictemp/usr/bin/sshyp
|
||||||
cp -r share output/generictemp/usr/
|
cp -r share output/generictemp/usr/
|
||||||
@@ -74,7 +74,7 @@ sha512sums=\"
|
|||||||
|
|
||||||
_create_hpkg() {
|
_create_hpkg() {
|
||||||
echo -e '\npackaging for Haiku...\n'
|
echo -e '\npackaging for Haiku...\n'
|
||||||
mkdir -p output/haikutemp/{bin,lib/sshyp,documentation/{packages/sshyp,man/man1},data/bash-completion/completions}
|
mkdir -p output/haikutemp/{bin,lib/sshyp/extensions,documentation/{packages/sshyp,man/man1},data/bash-completion/completions}
|
||||||
echo "name sshyp
|
echo "name sshyp
|
||||||
version "$version"-"$revision"
|
version "$version"-"$revision"
|
||||||
architecture any
|
architecture any
|
||||||
@@ -121,7 +121,7 @@ urls {
|
|||||||
|
|
||||||
_create_deb() {
|
_create_deb() {
|
||||||
echo -e '\npackaging for Debian/Ubuntu...\n'
|
echo -e '\npackaging for Debian/Ubuntu...\n'
|
||||||
mkdir -p output/debiantemp/sshyp_"$version"-"$revision"_all/{DEBIAN,usr/{lib/sshyp,bin,share/{bash-completion/completions,man/man1}}}
|
mkdir -p output/debiantemp/sshyp_"$version"-"$revision"_all/{DEBIAN,usr/{lib/sshyp/extensions,bin,share/{bash-completion/completions,man/man1}}}
|
||||||
echo "Package: sshyp
|
echo "Package: sshyp
|
||||||
Version: $version
|
Version: $version
|
||||||
Section: utils
|
Section: utils
|
||||||
@@ -147,7 +147,7 @@ Installed-Size: 14584
|
|||||||
|
|
||||||
_create_termux() {
|
_create_termux() {
|
||||||
echo -e '\npackaging for Termux...\n'
|
echo -e '\npackaging for Termux...\n'
|
||||||
mkdir -p output/termuxtemp/sshyp_"$version"-"$revision"_all_termux/{DEBIAN,data/data/com.termux/files/usr/{lib/sshyp,bin,share/{bash-completion/completions,man/man1}}}
|
mkdir -p output/termuxtemp/sshyp_"$version"-"$revision"_all_termux/{DEBIAN,data/data/com.termux/files/usr/{lib/sshyp/extensions,bin,share/{bash-completion/completions,man/man1}}}
|
||||||
echo "Package: sshyp
|
echo "Package: sshyp
|
||||||
Version: $version
|
Version: $version
|
||||||
Section: utils
|
Section: utils
|
||||||
@@ -209,7 +209,7 @@ echo -e "\nFedora packaging complete\n"
|
|||||||
|
|
||||||
_create_freebsd_pkg() {
|
_create_freebsd_pkg() {
|
||||||
echo -e '\npackaging for FreeBSD...'
|
echo -e '\npackaging for FreeBSD...'
|
||||||
mkdir -p output/freebsdtemp/usr/{lib/sshyp,bin,share/{bash-completion/completions,man/man1}}
|
mkdir -p output/freebsdtemp/usr/{lib/sshyp/extensions,bin,share/man/man1,local/share/bash-completion/completions}
|
||||||
echo "name: sshyp
|
echo "name: sshyp
|
||||||
version: \""$version"\"
|
version: \""$version"\"
|
||||||
abi = \"FreeBSD:13:*\";
|
abi = \"FreeBSD:13:*\";
|
||||||
@@ -238,7 +238,7 @@ prefix: /
|
|||||||
echo "/usr/bin/sshyp
|
echo "/usr/bin/sshyp
|
||||||
/usr/lib/sshyp/sshync.py
|
/usr/lib/sshyp/sshync.py
|
||||||
/usr/lib/sshyp/sshyp.py
|
/usr/lib/sshyp/sshyp.py
|
||||||
/usr/share/bash-completion/completions/sshyp
|
/usr/local/share/bash-completion/completions/sshyp
|
||||||
/usr/share/doc/sshyp/changelog
|
/usr/share/doc/sshyp/changelog
|
||||||
/usr/share/licenses/sshyp/license
|
/usr/share/licenses/sshyp/license
|
||||||
/usr/share/man/man1/sshyp.1.gz
|
/usr/share/man/man1/sshyp.1.gz
|
||||||
@@ -246,7 +246,7 @@ echo "/usr/bin/sshyp
|
|||||||
cp -r lib/. output/freebsdtemp/usr/lib/sshyp/
|
cp -r lib/. output/freebsdtemp/usr/lib/sshyp/
|
||||||
ln -s /usr/lib/sshyp/sshyp.py output/freebsdtemp/usr/bin/sshyp
|
ln -s /usr/lib/sshyp/sshyp.py output/freebsdtemp/usr/bin/sshyp
|
||||||
cp -r share output/freebsdtemp/usr/
|
cp -r share output/freebsdtemp/usr/
|
||||||
cp extra/sshyp-completion.bash output/freebsdtemp/usr/share/bash-completion/completions/sshyp
|
cp extra/sshyp-completion.bash output/freebsdtemp/usr/local/share/bash-completion/completions/sshyp
|
||||||
cp extra/manpage output/freebsdtemp/usr/share/man/man1/sshyp.1
|
cp extra/manpage output/freebsdtemp/usr/share/man/man1/sshyp.1
|
||||||
gzip output/freebsdtemp/usr/share/man/man1/sshyp.1
|
gzip output/freebsdtemp/usr/share/man/man1/sshyp.1
|
||||||
pkg create -m output/freebsdtemp/ -r output/freebsdtemp/ -p output/freebsdtemp/plist -o output/
|
pkg create -m output/freebsdtemp/ -r output/freebsdtemp/ -p output/freebsdtemp/plist -o output/
|
||||||
|
|||||||
+36
-32
@@ -1,48 +1,52 @@
|
|||||||
sshyp v1.3.0
|
sshyp v1.4.0
|
||||||
|
|
||||||
the serious shepherd update
|
the argumentative agronomist update
|
||||||
|
|
||||||
this release ties up many of sshyp's loose ends where there was
|
this release overhauls sshyp's argument system and further streamlines
|
||||||
room for major performance, compatibility, and security improvements
|
the experience with optimizations and the removal of legacy features
|
||||||
|
|
||||||
compatibility-breaking changes:
|
compatibility-breaking changes:
|
||||||
|
|
||||||
- due to a near full re-write of the syncing functionality, all clients and servers
|
- there are no technical breaking changes, but the UX has changed significantly due to the new argument system (detailed below)
|
||||||
must be updated to this release (v1.3.0 is not backwards compatible with any prior release)
|
|
||||||
- it is recommended to either delete the contents of ~/.config/sshyp/deleted (on the server-side)
|
|
||||||
or sync all of your clients before updating
|
|
||||||
^ old entries in this folder will throw errors with v1.3.0
|
|
||||||
|
|
||||||
user-facing features:
|
user-facing features:
|
||||||
|
|
||||||
- none - all changes were under-the-hood - the user experience should be
|
- when typing an entry/folder name, it is now always the FIRST argument
|
||||||
exactly the same as v1.2.0 - just faster, less buggy, and more secure
|
^ e.g. instead of "sshyp copy -p /example/test", it would now be "sshyp /example/test copy -p"
|
||||||
|
^ this allows more easily editing the previous command to copy/edit a different field
|
||||||
|
- better extension integration
|
||||||
|
^ extensions can now ship with a config file that sshyp can use to call them from standard sshyp arguments
|
||||||
|
^ the first extension supporting this is sshyp-mfa
|
||||||
|
^ if sshyp-mfa v1.4.0.1+ is installed, "sshyp /example/test copy -m" will copy MFA keys to your clipboard
|
||||||
|
- entry/folder names now MUST be specified as arguments
|
||||||
|
^ there is no longer a separate input prompt if the entry/folder name is not provided as an argument
|
||||||
|
^ the input prompt was a legacy feature from before arguments could specify entrys/folders with shell completion
|
||||||
|
^ the entry list generated by entry_list_gen() is still present and can be viewed by running "sshyp" with no arguments
|
||||||
|
- better Bash completions
|
||||||
|
^ now correctly places backslashes to escape spaces in entry/folder names
|
||||||
|
^ slightly faster than the previous iteration
|
||||||
|
- IPv6 configuration support
|
||||||
|
|
||||||
major fixes/optimizations:
|
fixes/optimizations:
|
||||||
|
|
||||||
- a near full re-write of the syncing functionality
|
- replaced "+=" with ".append" when extending lists to prevent creating an additional list
|
||||||
^ all syncing logic has been moved into sshync.py (from sshyp.py and sshypRemote.py)
|
- optimized usage of "str.split()" and replaced it with "str.splitlines()" where applicable
|
||||||
^ in my setup, a dry, local "sshyp sync" went from 2.00+ seconds (v1.2.0) to 0.36 seconds (v1.3.0)
|
- more concise "if... in ()" syntax replaces long "if" statement chains
|
||||||
^ the performance improvements are even greater when syncing from outside your local network
|
- lists have been substituted with tuples where applicable
|
||||||
- the following character sequences will no longer break the syncing logic: "@", "^&*", and "*&^"
|
- entry_list_gen() has been re-written to be much smaller and faster
|
||||||
^ ASCII separator characters 29-31 are now used, instead
|
- os.path is now used in place of pathlib.Path in areas where it is faster
|
||||||
- os.system has been replaced with subprocess.run in all cases, shell=True is no longer used with subprocess.run
|
- the user's home directory is saved to a variable to prevent running expanduser() every time it is needed
|
||||||
^ this protects against shell escape attacks and potentially makes sshyp more compatible with some environments
|
|
||||||
- replaced shell commands with python built-in library functions where applicable
|
|
||||||
^ this brings speed and compatibility improvements
|
|
||||||
- sshyp should no longer incorrectly assume an X11 environment when Wayland is in use
|
|
||||||
^ this fixes clipboard support in some Wayland environments, such as Sway (Plasma/Gnome/Phosh were unaffected)
|
|
||||||
- sshyp now uses the default pinentry on Haiku thanks to haikuports/haikuports#7457
|
|
||||||
^ this brings the Haiku port in-line with the other sshyp packages in terms of security
|
|
||||||
- "python3" is now called over ssh, rather than "python"
|
|
||||||
^ some environments do not have a "python" symlink, or it links to "python2" - changing this increases compatibility
|
|
||||||
- fixed an issue from v1.2.0 where renaming threw an error if not in offline mode
|
|
||||||
|
|
||||||
other notable changes:
|
other notable changes:
|
||||||
|
|
||||||
- quick-unlock password input is now hidden while the user is typing
|
- removed some uncommonly used, redundant arguments
|
||||||
^ user input is now invisible to prevent snooping
|
^ e.g. "-rm", "-s", "delete"
|
||||||
- lots of smaller optimizations not listed here
|
^ their functionality was NOT removed, just their redundant arguments, since "shear", "sync", and "del" are the accepted syntax
|
||||||
|
- errors containing entry/folder names reinforce correct syntax by adding leading/following slashes where necessary
|
||||||
|
- thanks to pull request #25, there are new error messages for the read shortcut
|
||||||
|
^ includes when no entry name is provided or the entry name only refers to a directory
|
||||||
|
- directories provided in user input are no longer denoted by a following slash
|
||||||
|
^ instead, os.path is used to determine if the user is referring to a file or directory
|
||||||
|
|
||||||
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
|
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
sshyp is a FOSS password manager that uses an sftp-based syncing back-end.
|
sshyp is a FOSS password manager that uses an sftp-based syncing back-end.
|
||||||
Copyright (C) 2022 Randall Winkhart idgr@tutanota.com
|
Copyright (C) 2021-2023 Randall Winkhart idgr@tutanota.com
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of version 3 (only) of the GNU General Public License
|
it under the terms of version 3 (only) of the GNU General Public License
|
||||||
|
|||||||
Reference in New Issue
Block a user