Sync from SUSE:SLFO:Main snpguest revision 6a3539d07f5bb42001ee0f90f2e8e9d0
This commit is contained in:
commit
6227e61600
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
27
_service
Normal file
27
_service
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
<services>
|
||||||
|
<service mode="disabled" name="obs_scm">
|
||||||
|
<param name="url">https://github.com/virtee/snpguest.git</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@~@TAG_OFFSET@</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="revision">v0.3.2</param>
|
||||||
|
<param name="match-tag">*</param>
|
||||||
|
<param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param>
|
||||||
|
<param name="versionrewrite-replacement">\1</param>
|
||||||
|
<param name="changesgenerate">enable</param>
|
||||||
|
<param name="changesauthor">Caleb Crane (caleb.crane@suse.com)</param>
|
||||||
|
</service>
|
||||||
|
<service mode="disabled" name="tar" />
|
||||||
|
<service mode="disabled" name="recompress">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">gz</param>
|
||||||
|
</service>
|
||||||
|
<service mode="disabled" name="set_version"/>
|
||||||
|
<service name="cargo_vendor" mode="disabled">
|
||||||
|
<param name="srcdir">snpguest</param>
|
||||||
|
<param name="compression">gz</param>
|
||||||
|
<param name="update">true</param>
|
||||||
|
</service>
|
||||||
|
<service name="cargo_audit" mode="disabled">
|
||||||
|
<param name="srcdir">snpguest</param>
|
||||||
|
</service>
|
||||||
|
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<servicedata>
|
||||||
|
<service name="tar_scm">
|
||||||
|
<param name="url">https://github.com/virtee/snpguest.git</param>
|
||||||
|
<param name="changesrevision">1bb2234f9fdd20431de6aa1805856bf145e62d37</param></service></servicedata>
|
5
cargo_config
Normal file
5
cargo_config
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[source.crates-io]
|
||||||
|
replace-with = "vendored-sources"
|
||||||
|
|
||||||
|
[source.vendored-sources]
|
||||||
|
directory = "vendor"
|
BIN
snpguest-0.3.2~0.obscpio
(Stored with Git LFS)
Normal file
BIN
snpguest-0.3.2~0.obscpio
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
snpguest-0.3.2~0.tar.gz
(Stored with Git LFS)
Normal file
BIN
snpguest-0.3.2~0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
74
snpguest.changes
Normal file
74
snpguest.changes
Normal file
@ -0,0 +1,74 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 22 15:29:35 UTC 2024 - Caleb Crane (caleb.crane@suse.com)
|
||||||
|
|
||||||
|
- Update to version 0.3.2~0:
|
||||||
|
* crates.io: Updating crates.io for publishing
|
||||||
|
* cert: Fixing minor bug with certificates
|
||||||
|
* Fixing report request serialization
|
||||||
|
* hyperv: Adding feature flag for hyperv
|
||||||
|
* VCEK: Patching for x509 error
|
||||||
|
* 9: Adding Cargo.lock for dependency tracking
|
||||||
|
* 9: Adding Rust Minimum Version
|
||||||
|
* Auto Assign: Adding yml files
|
||||||
|
* Update docs/snpguest.1.adoc
|
||||||
|
* Change false to hv in main
|
||||||
|
* Fixing comments on PR, added code to main, and fixed flag ambiguity
|
||||||
|
* Adding Derived Key Feature
|
||||||
|
* azure: Use mutable variable instead of consistently recreating
|
||||||
|
* docs: Document report --platform flag
|
||||||
|
* report: Add --platform flag for Hyper-V
|
||||||
|
* hyperv: Require VMPL 0 for attestation report
|
||||||
|
* hyperv: Check for hypervisor guest + Hyper-V functions
|
||||||
|
* hyperv: Fetch attestation report from Azure vTPM
|
||||||
|
* hyperv: Detect if in a Hyper-V SEV-SNP guest
|
||||||
|
* Reformat with cargo fmt
|
||||||
|
* verify: Fix clippy warning
|
||||||
|
* Fixing clippy Errors
|
||||||
|
* Changed Attestation workflow to always require a bin Attestation Report. Fixed requested changes.
|
||||||
|
* Adding new write_cert function. Organizing code.
|
||||||
|
* Adding proctype enum
|
||||||
|
* Attestation Report requested when used. New fetch command. Continuity fixes.
|
||||||
|
* Fixing dependencies
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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 <larry.j.dewey@gmail.com>
|
||||||
|
|
||||||
|
- Initial Release v0.2.0
|
4
snpguest.obsinfo
Normal file
4
snpguest.obsinfo
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
name: snpguest
|
||||||
|
version: 0.3.2~0
|
||||||
|
mtime: 1701713393
|
||||||
|
commit: 1bb2234f9fdd20431de6aa1805856bf145e62d37
|
56
snpguest.spec
Normal file
56
snpguest.spec
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
#
|
||||||
|
# spec file for package snpguest
|
||||||
|
#
|
||||||
|
# Copyright (c) 2024 SUSE LLC
|
||||||
|
# Copyright (C) 2023 VirTEE
|
||||||
|
#
|
||||||
|
# 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: snpguest
|
||||||
|
Version: 0.3.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
|
||||||
|
ExclusiveArch: x86_64
|
||||||
|
|
||||||
|
%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
|
BIN
vendor.tar.gz
(Stored with Git LFS)
Normal file
BIN
vendor.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user