diff --git a/os-kms-1.1-aarch64.tar.gz b/os-kms-1.1-aarch64.tar.gz deleted file mode 100644 index a794be85f9065f4d1cf127e6e79959b698eb442c..0000000000000000000000000000000000000000 Binary files a/os-kms-1.1-aarch64.tar.gz and /dev/null differ diff --git a/os-kms-1.1-x86_64.tar.gz b/os-kms-1.1-x86_64.tar.gz deleted file mode 100644 index 94abf724c4b72595bdd5b601456fbb0112d41c74..0000000000000000000000000000000000000000 Binary files a/os-kms-1.1-x86_64.tar.gz and /dev/null differ diff --git a/os-kms-1.2-aarch64.tar.gz b/os-kms-1.2-aarch64.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..40be47842f5e8a9b6693b651610d107a959be2c0 Binary files /dev/null and b/os-kms-1.2-aarch64.tar.gz differ diff --git a/os-kms-1.2-x86_64.tar.gz b/os-kms-1.2-x86_64.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..cc06daef9ca990544ccd568d382b37e85995e035 Binary files /dev/null and b/os-kms-1.2-x86_64.tar.gz differ diff --git a/os-kms.spec b/os-kms.spec index 863164cdb8f1368fbd611630286a66e618de05eb..2accd6132ecfbbc1deecd95827336eb50a7f4ba5 100644 --- a/os-kms.spec +++ b/os-kms.spec @@ -2,8 +2,8 @@ %define arch %{?_target_cpu} Name: os-kms -Version: 1.1 -Release: 6 +Version: 1.2 +Release: 2 Summary: Key Management Service License: Public Domain URL: http://www.hopeinfra.com/ @@ -39,12 +39,22 @@ cp -a -r %{_builddir}/%{name}-%{version}/etc/os-kms/conf/* $RPM_BUILD_ROOT/etc/o /usr/bin/kms_frontend /usr/bin/kms_service /usr/libexec/os-kms/kms_frontend -/usr/libexec/os-kms/kms_service.pyc +/usr/libexec/os-kms/kms_service /usr/bin/kmsrsa /usr/lib/systemd/system/* %config(noreplace) /etc/os-kms/conf/* %changelog +* Thu Oct 17 2024 wangkun - 1.2-2 +- fix: Handle None result in show_registercode +- Update 1.2 + +* Mon Oct 15 2024 zhang_chunjing -1.1-7 +- Fix RuntimeError: Working outside of application context Updated the database +- initialization to ensure it runs within the Flask application context. +- This prevents runtime errors when creating the database and guarantees +- the application has access to the necessary Flask context. + * Mon Jul 22 2024 wangkun - 1.1-6 - bugfix: flag_code can only be updated if it is not empty