commit 75ce5e3033c55ff0cf71979f511cf3a2ebf8f256ae70b99d973aba44bff8f2af Author: Olaf Hering Date: Fri Jul 14 13:45:11 2023 +0000 Accepting request 1098019 from home:larrydewey I would like to maintain snpguest, and would like to use Virtualization:snpguest as the devel/feeder project. OBS-URL: https://build.opensuse.org/request/show/1098019 OBS-URL: https://build.opensuse.org/package/show/Virtualization/snpguest?expand=0&rev=1 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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..f25a722 --- /dev/null +++ b/_service @@ -0,0 +1,27 @@ + + + https://github.com/virtee/snpguest.git + @PARENT_TAG@~@TAG_OFFSET@ + git + v0.2.2 + * + v(\d+\.\d+\.\d+) + \1 + enable + larry.j.dewey@gmail.com + + + + *.tar + gz + + + + snpguest + gz + true + + + snpguest + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..13e5e0c --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/virtee/snpguest.git + 16908aaa22c184d62267abe7ac2fb9fefaf0b0c0 \ No newline at end of file diff --git a/cargo_config b/cargo_config new file mode 100644 index 0000000..6fb4ff4 --- /dev/null +++ b/cargo_config @@ -0,0 +1,5 @@ +[source.crates-io] +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "vendor" \ No newline at end of file diff --git a/snpguest-0.2.2~0.obscpio b/snpguest-0.2.2~0.obscpio new file mode 100644 index 0000000..ae20f47 --- /dev/null +++ b/snpguest-0.2.2~0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:94b251b0d9864dfeae1b41a0ab92722405168ded27e3970be1dc204000dd4e91 +size 51723 diff --git a/snpguest-0.2.2~0.tar.gz b/snpguest-0.2.2~0.tar.gz new file mode 100644 index 0000000..17bcc97 --- /dev/null +++ b/snpguest-0.2.2~0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f7a1cd9d7480ac77f7a91a369b6972adf6fd507f761ea1df7b354df476a2d092 +size 13422 diff --git a/snpguest.changes b/snpguest.changes new file mode 100644 index 0000000..d64abc0 --- /dev/null +++ b/snpguest.changes @@ -0,0 +1,42 @@ +------------------------------------------------------------------- +Mon Jul 10 17:18:03 UTC 2023 - larry.j.dewey@gmail.com + +- Update to version 0.2.2~0: + * Update to 0.2.2 + * Update Cargo.toml readme field + * Update to 0.2.1 + +------------------------------------------------------------------- +Tue Jun 06 15:51:36 UTC 2023 - larry.j.dewey@gmail.com + +- Update to version 0.2.0~0: + * Fixing dependencies + * Changed VMPL to use updated SEV library + * Convert README to Markdown + * .gitignore: Add Cargo.lock + * Reformat + * Made certificate path and proc model required. Changed Cargo.toml. Shortened verify commands. + * Restrucuted project. Using updated SEV library. Adressed comments. + * Changed identification to enum + * Fixed request module with comments. Now using new virtee library + * Added verify-TCB, attestation signture verification and quiet flag + +------------------------------------------------------------------- +Tue Jun 06 15:28:17 UTC 2023 - larry.j.dewey@gmail.com + +- Update to version 0.2.0~0: + * Fixing dependencies + * Changed VMPL to use updated SEV library + * Convert README to Markdown + * .gitignore: Add Cargo.lock + * Reformat + * Made certificate path and proc model required. Changed Cargo.toml. Shortened verify commands. + * Restrucuted project. Using updated SEV library. Adressed comments. + * Changed identification to enum + * Fixed request module with comments. Now using new virtee library + * Added verify-TCB, attestation signture verification and quiet flag + +------------------------------------------------------------------- +Tue May 23 14:50:12 UTC 2023 - Larry Dewey + +- Initial Release v0.2.0 diff --git a/snpguest.obsinfo b/snpguest.obsinfo new file mode 100644 index 0000000..c1f87ee --- /dev/null +++ b/snpguest.obsinfo @@ -0,0 +1,4 @@ +name: snpguest +version: 0.2.2~0 +mtime: 1688699353 +commit: 16908aaa22c184d62267abe7ac2fb9fefaf0b0c0 diff --git a/snpguest.spec b/snpguest.spec new file mode 100644 index 0000000..58d1ac7 --- /dev/null +++ b/snpguest.spec @@ -0,0 +1,54 @@ +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright (C) 2023 VirTEE +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Author: Larry Dewey + +Name: snpguest +Version: 0.2.2~0 +Release: 0 +Summary: A Rust command-line tool for interacting with the AMD Secure Processor +License: Apache-2.0 +Group: Productivity/Security +Url: https://github.com/virtee/snpguest +Source0: %{name}-%{version}.tar.gz +Source1: vendor.tar.gz +Source2: cargo_config +BuildRequires: cargo-packaging + +%description +snpguest is a command line utility for interacting with the AMD Secure Encrypted Virtualization - Secure Nested Paging (SEV-SNP) guest environment (via the /dev/sev-guest device). + +%prep +# The number passed to -a (a stands for "after") should be equivalent to the Source tag number +# of the vendor tarball, 1 in this case (from Source1). +%autosetup -a1 +install -D -m 644 %{SOURCE2} .cargo/config + +%build +%{cargo_build} + +%install +%{cargo_install} + +%check +%{cargo_test} + +%files +%license LICENSE +%doc README.md +%{_bindir}/%{name} + +%changelog diff --git a/vendor.tar.gz b/vendor.tar.gz new file mode 100644 index 0000000..01b5bbd --- /dev/null +++ b/vendor.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1e671a2b3c2cfb69c7432a4ac34be702f8b011dfe9effc915583bd042a639227 +size 41191296