From 46e9229915b3f005e79338d021b51d6595f4dc60e605d2149dcaf68762981741 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Sat, 8 Jun 2024 11:23:48 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main ssh-pairing revision 8d324cd04541920b866d80fe760694f5 --- .gitattributes | 23 +++++++++++++++++ _service | 15 +++++++++++ _servicedata | 4 +++ ssh-pairing-0.2.obscpio | 3 +++ ssh-pairing.changes | 45 +++++++++++++++++++++++++++++++++ ssh-pairing.obsinfo | 4 +++ ssh-pairing.spec | 55 +++++++++++++++++++++++++++++++++++++++++ 7 files changed, 149 insertions(+) create mode 100644 .gitattributes create mode 100644 _service create mode 100644 _servicedata create mode 100644 ssh-pairing-0.2.obscpio create mode 100644 ssh-pairing.changes create mode 100644 ssh-pairing.obsinfo create mode 100644 ssh-pairing.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/_service b/_service new file mode 100644 index 0000000..4b55d28 --- /dev/null +++ b/_service @@ -0,0 +1,15 @@ + + + https://github.com/Vogtinator/ssh-pairing.git + git + enable + @PARENT_TAG@+git@TAG_OFFSET@ + v(.*?)(\+git0)?$ + + + + + *.tar + xz + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..b2d0d05 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/Vogtinator/ssh-pairing.git + 628f243170e79c6435254d6fb9eec3eee543d05d \ No newline at end of file diff --git a/ssh-pairing-0.2.obscpio b/ssh-pairing-0.2.obscpio new file mode 100644 index 0000000..5d9b345 --- /dev/null +++ b/ssh-pairing-0.2.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:548fca7e5c52c36ef0153ab2886f8049951a0b9a23b042074f140b5175bb0464 +size 46090 diff --git a/ssh-pairing.changes b/ssh-pairing.changes new file mode 100644 index 0000000..9a6bea0 --- /dev/null +++ b/ssh-pairing.changes @@ -0,0 +1,45 @@ +------------------------------------------------------------------- +Fri Apr 12 13:20:34 UTC 2024 - Fabian Vogt + +- Update to version 0.2: + * Ask for key import individually + * Use SSH_STRING_FREE_CHAR instead of plain free +- Use mode="manual" in _service + +------------------------------------------------------------------- +Wed Feb 14 08:50:18 UTC 2024 - Fabian Vogt + +- Update to version 0.1+git18: + * Add Security Considerations section to README.md + * Mention ssh-pairing prefix also in README.md + * Add ssh-pairing prefix to the client success message + * Clarify comment + * Show ssh-pairing-server stderr on failure + * Fail if kbd-interactive does not complete + +------------------------------------------------------------------- +Fri Jan 26 15:54:45 UTC 2024 - Fabian Vogt + +- Update to version 0.1+git12: + * Avoid unnecessary strlcpy + +------------------------------------------------------------------- +Fri Jan 26 14:51:06 UTC 2024 - Fabian Vogt + +- Update to version 0.1+git11: + * Document ssh-pairing tool + * Make it clear that the client message is important + * No bogus output + * Make shellcheck happy + * Add ssh-pairing tool + * Add a usage message + * Shorten status message sent to the client + * Print received keys immediately + * Some README.md improvements + * Fix indentation + * Use NI_MAXHOST + +------------------------------------------------------------------- +Thu Jan 18 11:24:43 UTC 2024 - Fabian Vogt + +- Initial commit diff --git a/ssh-pairing.obsinfo b/ssh-pairing.obsinfo new file mode 100644 index 0000000..36825cf --- /dev/null +++ b/ssh-pairing.obsinfo @@ -0,0 +1,4 @@ +name: ssh-pairing +version: 0.2 +mtime: 1712927233 +commit: 628f243170e79c6435254d6fb9eec3eee543d05d diff --git a/ssh-pairing.spec b/ssh-pairing.spec new file mode 100644 index 0000000..739417e --- /dev/null +++ b/ssh-pairing.spec @@ -0,0 +1,55 @@ +# +# spec file for package ssh-pairing +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: ssh-pairing +Version: 0.2 +Release: 0 +Summary: Passwordless SSH key exchange through pairing +License: GPL-2.0-or-later +URL: https://github.com/Vogtinator/ssh-pairing +Source0: %{name}-%{version}.tar.xz +BuildRequires: meson +BuildRequires: pkgconfig +BuildRequires: pkgconfig(libssh) +Requires: dialog +Requires: hostname +Requires: /usr/bin/ssh-keygen + +%description +This tool allows to use pairing (like bluetooth, kde connect, ...) for exchanging public SSH keys, basically as alternative to ssh-copy-id. +With this, setting up SSH authentication is more user friendly, as the user's public key does not need to be transferred to the server manually. +It is arguably also more secure, as no passwords are involved, not even temporarily just to be able to ssh-copy-id. +This tool is design to be used as part of some CLI or TUI, but can also be used manually. + +%prep +%autosetup -p1 + +%build +%meson +%meson_build + +%install +%meson_install + +%files +%license LICENSE +%doc README.md +%{_sbindir}/ssh-pairing +%{_sbindir}/ssh-pairing-server + +%changelog