adding missing files from previous, and various fixes for PGP signing; path mgmt is a little clunky

This commit is contained in:
Chris Punches
2025-03-23 19:51:18 -04:00
parent 78891a1881
commit 8b7e594d33
4 changed files with 104 additions and 40 deletions

View File

@@ -57,12 +57,12 @@ int seal_final_package(const std::string &stage_dir, const std::string &output_d
* Extracts a sealed package file back to its original stage directory structure
* by expanding the gzipped tarballs.
*
* @param package_path Path to the sealed package file
* @param package_filepath Path to the sealed package file
* @param output_dir Path to extract the package stage to
* @param force Whether to force the operation even if warnings occur
* @return 0 on success, non-zero on failure
*/
int unseal_package(const std::string& package_path, const std::string& output_dir, bool force);
int unseal_package(const std::string& package_filepath, const std::string& output_dir, bool force);
/**

View File

@@ -18,6 +18,7 @@
#include <gpgme.h>
#include <dpmdk/include/CommonModuleAPI.hpp>
#include "helpers.hpp"
#include "sealing.hpp"
/**
* @brief Signs a package stage directory