]>
git.proxmox.com Git - proxmox.git/log
Fabian Grünbichler [Tue, 6 Dec 2022 11:18:46 +0000 (12:18 +0100)]
move common metadata to workspace
and switch all crates to 2021 edition as well as a unified "authors" value.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Tue, 6 Dec 2022 10:21:43 +0000 (11:21 +0100)]
update d/control files
debcargo 2.6 changed some minor details
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Wolfgang Bumiller [Wed, 30 Nov 2022 08:36:02 +0000 (09:36 +0100)]
use statement fixup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Fabian Grünbichler [Mon, 5 Dec 2022 10:17:37 +0000 (11:17 +0100)]
clippy 1.65 fixes
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Thu, 1 Dec 2022 10:08:47 +0000 (11:08 +0100)]
proxmox-schema: bump to 1.3.5
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Thu, 1 Dec 2022 10:06:41 +0000 (11:06 +0100)]
schema: update to textwrap 0.16
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Wolfgang Bumiller [Mon, 28 Nov 2022 08:29:29 +0000 (09:29 +0100)]
bump proxmox-section-config to 1.0.2-1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Mon, 28 Nov 2022 08:27:27 +0000 (09:27 +0100)]
minor doc fixup
an 'ignore' block assumes rust syntax, a 'text' block should
just be plain text
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Fiona Ebner [Fri, 25 Nov 2022 15:15:35 +0000 (16:15 +0100)]
section config: support allowing unknown section types
Similar to commit
c9ede1c ("support unknown types in section config")
in pve-common.
Unknown sections are parsed as String-JSON String key-value pairs
without any additional checks and also written as-is.
Suggested-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
Thomas Lamprecht [Thu, 20 Oct 2022 07:41:04 +0000 (09:41 +0200)]
subscription: recognize 'Suspended' status
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Wolfgang Bumiller [Mon, 24 Oct 2022 12:06:55 +0000 (14:06 +0200)]
bump proxmox-section-config to 1.0.1-1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Mon, 24 Oct 2022 11:45:56 +0000 (13:45 +0200)]
section-config: expose order
we already expose the raw sections which are sometimes
easier to use, but we don't expose the order at all this way
otherwise
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Mon, 24 Oct 2022 11:44:22 +0000 (13:44 +0200)]
section-config: use Vec for section order
We use none of the additional functionality provided by
VecDeque.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Fiona Ebner [Fri, 21 Oct 2022 13:02:44 +0000 (15:02 +0200)]
section config: parse additional properties when schema allows it
Additional properties will be parsed according to the default string
schema.
This is relevant for use cases when the full schema is not known for
some reason or another. In particular this allows support for parsing
older/newer versions of configuration files. One example of this is
the proposed proxmox-mail-forward helper binary, which currently
doesn't have access to the PBS API types for dependency reasons and
is only interested in the email field for the root user. If it can
only use a minimal schema with additional_properties set to true, it
will be robust against changes.
Writing already works, because the ObjectSchema's verify_json()
already handles additional_properties correctly and
format_section_content() handles them like all other properties
(method doesn't depend on the schema).
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
Wolfgang Bumiller [Wed, 19 Oct 2022 12:36:45 +0000 (14:36 +0200)]
sys: impl AsFd for PTY
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 19 Oct 2022 12:35:07 +0000 (14:35 +0200)]
sys: impl AsFd for PidFd
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 19 Oct 2022 12:20:31 +0000 (14:20 +0200)]
bump sys to 0.4.1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Fabian Grünbichler [Wed, 19 Oct 2022 12:17:12 +0000 (14:17 +0200)]
proxmox-http: fix last changelog entry
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Wolfgang Bumiller [Wed, 19 Oct 2022 11:55:47 +0000 (13:55 +0200)]
sys: deprecate RawFdNum
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 19 Oct 2022 11:49:16 +0000 (13:49 +0200)]
sys: add From<OwnedFd/Fd> for Fd/OwnedFd temporarily
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 19 Oct 2022 10:13:03 +0000 (12:13 +0200)]
rest-server: update to OwnedFd
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 19 Oct 2022 11:25:08 +0000 (13:25 +0200)]
sys: deprecate Fd, add its methods as module functions
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 19 Oct 2022 08:55:03 +0000 (10:55 +0200)]
sys: deprecate BorrowedFd
std has this now, stable since 1.63
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Thu, 13 Oct 2022 13:00:28 +0000 (15:00 +0200)]
bump edition in rustfmt.toml
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Thomas Lamprecht [Tue, 11 Oct 2022 12:47:35 +0000 (14:47 +0200)]
rest-server: add packaging and bump to 0.2.0
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 11 Oct 2022 12:46:03 +0000 (14:46 +0200)]
cargo: rest-server: set license property
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 11 Oct 2022 13:09:28 +0000 (15:09 +0200)]
Merge remote-tracking branch 'proxmox-rest-merge/master'
split out from proxmox-backup using `git filter-repo` including
history with the following --paths-from-file:
```
proxmox-rest-server
src/api/server.rs
src/server/command_socket.rs
src/server/config.rs
src/server/environment.rs
src/server/formatter.rs
src/server/h2service.rs
src/server/rest.rs
src/server/state.rs
src/tools/compression.rs
src/tools/daemon.rs
src/tools/file_logger.rs
src/worker_task.rs
```
Fabian Grünbichler [Tue, 11 Oct 2022 07:48:11 +0000 (09:48 +0200)]
cargo fmt
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Tue, 11 Oct 2022 07:47:13 +0000 (09:47 +0200)]
clippy fixes
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Wed, 7 Sep 2022 07:32:29 +0000 (09:32 +0200)]
metrics: bump to 0.2.1
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Wed, 7 Sep 2022 07:31:23 +0000 (09:31 +0200)]
subscription: bump to 0.3.0
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Wed, 7 Sep 2022 07:21:41 +0000 (09:21 +0200)]
update proxmox-router to 1.3.0
no real change for PBS usage - the ApiHandler enum is marked
non_exhaustive now because it has extra values if the new (enabled by
default) "server" feature is enabled.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Fri, 19 Aug 2022 11:27:14 +0000 (13:27 +0200)]
update to proxmox-http 0.7
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Wed, 7 Sep 2022 11:04:49 +0000 (13:04 +0200)]
subscription: properly forward verification error
when verifying the server response used for offline mirror keys.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Wed, 7 Sep 2022 11:04:44 +0000 (13:04 +0200)]
subscription: use lowercase for Display-ing status
Fabian Grünbichler [Wed, 7 Sep 2022 08:42:51 +0000 (10:42 +0200)]
subscription: properly alias 'notfound'
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Wed, 7 Sep 2022 08:40:45 +0000 (10:40 +0200)]
subscription: conditionalize checks
signed subscription info files should always be checked to catch
attempts of invalid signatures, but the age and serverid checks only
need to apply to "active" files, else the status might switch from a
more meaningful one to "invalid" by accident.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Wed, 7 Sep 2022 07:03:02 +0000 (09:03 +0200)]
subscription: add Expired status
this can be returned by the shop when checking an online subscription.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Mon, 22 Aug 2022 11:59:15 +0000 (13:59 +0200)]
http: bump to 0.7.0
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Fri, 5 Aug 2022 07:42:23 +0000 (09:42 +0200)]
http: client_trait: make request body generic
like the response body, instead of hard-coding Read.
Fabian Grünbichler [Fri, 5 Aug 2022 07:26:03 +0000 (09:26 +0200)]
http: add extra_headers to `post`
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Thu, 4 Aug 2022 13:25:27 +0000 (15:25 +0200)]
http: sync: add HttpClient for Box<dyn Read>
for use cases where the full request body is not available from the
start, or the response doesn't need to be fully read in one go.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Thu, 4 Aug 2022 11:15:47 +0000 (13:15 +0200)]
http: make post() take `Read`, not &str
for more flexibility.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Thu, 4 Aug 2022 08:14:38 +0000 (10:14 +0200)]
http: fix typo
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Thu, 4 Aug 2022 08:03:36 +0000 (10:03 +0200)]
http: rename SimpleHttp to Client
so we have proxmox_http::client::Client for the async, hyper-based
client and proxmox_http::client::sync::Client for the sync, ureq-based
one.
this is a breaking change.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Thu, 4 Aug 2022 09:29:44 +0000 (11:29 +0200)]
http: add "raw" sync client
and switch String one over to use it.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Thu, 4 Aug 2022 08:01:13 +0000 (10:01 +0200)]
http: add ureq-based sync client
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Thu, 4 Aug 2022 07:53:58 +0000 (09:53 +0200)]
http: extend HttpClient trait
to allow get requests with extra headers (such as `Authorization`) and a
generic `request` fn to increase flexibility even more.
this is a breaking change.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Thu, 4 Aug 2022 07:52:45 +0000 (09:52 +0200)]
http: move SimpleHttpOptions to http-helpers feature
and rename it to HttpOptions, since it's not specific to the "Simple"
client at all.
this is a breaking change.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Wed, 7 Sep 2022 07:17:15 +0000 (09:17 +0200)]
router: bump to 1.3.0
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Wed, 3 Aug 2022 12:44:53 +0000 (14:44 +0200)]
router: make hyper/http optional
but enable it by default.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Mon, 5 Sep 2022 10:55:33 +0000 (12:55 +0200)]
build: more missing features
these would cause failures when building the sub-crates directly from
their sub-directory.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Thomas Lamprecht [Fri, 26 Aug 2022 10:57:57 +0000 (12:57 +0200)]
api-macro: track d/control
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 26 Aug 2022 10:18:44 +0000 (12:18 +0200)]
git: ignore top level *-deb make target files
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 26 Aug 2022 10:07:36 +0000 (12:07 +0200)]
d/control: tree wide update after switch to weak/namespaced dependencies
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Fabian Grünbichler [Mon, 22 Aug 2022 09:24:04 +0000 (11:24 +0200)]
build: use weak and namespaced features
to reduce the creep of optional dependencies being exposed as features.
this requires cargo 0.63 (and debcargo built against at least that
version), but greatly reduces the number of binary packages and provides
generated, while still allowing sensible selection of optional
dependencies via the explicit feature meant for pulling them in.
diff stat for running `make deb` after this change:
proxmox-http/debian/control | 226 ++++--------------------------------
proxmox-router/debian/control | 74 +-----------
proxmox-schema/debian/control | 53 ++-------
proxmox-subscription/debian/control | 17 +--
proxmox-sys/debian/control | 51 +++-----
proxmox-tfa/debian/control | 110 ++----------------
6 files changed, 72 insertions(+), 459 deletions(-)
the 'dep:' prefix marks something on the RHS inside the features section
as dependency, it's only allowed if the string after it is an optional
dependency an no explicit feature of the same name exists. if all
pointers to the optional dependency in the features section are marked
as such, the optional dependency itself will not be exposed as a feature
(either on the cargo or debian/control level).
the '?' suffix marks dependencies as "weak", which only enables the
optional dependency + its feature(s) if the optional dependency itself
is also enabled. it has no effect on d/control since such a relationship
is not encodable in Debian package relations, but it does affect cargo
dependency resolution and allows skipping the build of unneeded optional
dependencies in some cases.
with no packages/crates depending on the no longer exposed automatically
generated features/packages, so these are safe to remove even though
it's technically a breaking change.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Fri, 19 Aug 2022 12:20:58 +0000 (14:20 +0200)]
subscription: add missing path dependencies
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Fri, 19 Aug 2022 12:20:02 +0000 (14:20 +0200)]
make: add proxmox-metrics to crate list
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Fri, 19 Aug 2022 12:19:39 +0000 (14:19 +0200)]
fixup! time: update to nom 7
Fabian Grünbichler [Fri, 19 Aug 2022 10:41:15 +0000 (12:41 +0200)]
schema: bump to 1.3.4
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Fri, 19 Aug 2022 10:26:42 +0000 (12:26 +0200)]
schema: update to textwrap 0.15
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Fri, 19 Aug 2022 10:22:45 +0000 (12:22 +0200)]
time: bump to 1.1.4
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Fri, 19 Aug 2022 10:22:27 +0000 (12:22 +0200)]
time: update to nom 7
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Wolfgang Bumiller [Mon, 1 Aug 2022 10:04:38 +0000 (12:04 +0200)]
more stable clippy fixups
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Thu, 28 Jul 2022 11:40:07 +0000 (13:40 +0200)]
bump proxmox-sys dep to 0.4
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Thu, 28 Jul 2022 11:39:21 +0000 (13:39 +0200)]
bump d/control files
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Thu, 28 Jul 2022 11:33:33 +0000 (13:33 +0200)]
bump proxmox-subscription to 0.2.1-1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Thu, 28 Jul 2022 11:33:06 +0000 (13:33 +0200)]
bump proxmox-shared-memory to 0.2.2-1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Thu, 28 Jul 2022 11:32:20 +0000 (13:32 +0200)]
bump proxmox-http to 0.6.5-1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Thu, 28 Jul 2022 11:31:17 +0000 (13:31 +0200)]
http, shared-memory, subscription: bump proxmox-sys dependency to 0.4
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Thu, 28 Jul 2022 11:29:42 +0000 (13:29 +0200)]
sys: drop comment from Cargo.toml
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Thu, 28 Jul 2022 10:50:06 +0000 (12:50 +0200)]
bump proxmox-sys to 0.4.0
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 27 Jul 2022 12:52:06 +0000 (14:52 +0200)]
rest-server: clippy fixups
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 27 Jul 2022 08:55:10 +0000 (10:55 +0200)]
sys: doc fixup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 27 Jul 2022 08:52:50 +0000 (10:52 +0200)]
http: clippy fixes
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 27 Jul 2022 08:52:07 +0000 (10:52 +0200)]
api-macro: clippy fixes
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 27 Jul 2022 08:51:22 +0000 (10:51 +0200)]
uuid: clippy fixes
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Tue, 26 Jul 2022 12:45:39 +0000 (14:45 +0200)]
sys: another Arc::clone
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Tue, 26 Jul 2022 12:44:49 +0000 (14:44 +0200)]
sys: explicit Arc::clone
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Tue, 26 Jul 2022 11:21:36 +0000 (13:21 +0200)]
sys: use Iterator::min instead of a manual version
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Tue, 26 Jul 2022 11:04:09 +0000 (13:04 +0200)]
sys: bump edition to 2021
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Tue, 26 Jul 2022 10:27:44 +0000 (12:27 +0200)]
lang: update c_str
drop the let binding, easier to use in const context since
CStr::from_bytes_with_nul_unchecked is const since 1.59
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Tue, 26 Jul 2022 10:24:13 +0000 (12:24 +0200)]
sys: drop proxmox-borrow dependency
nix now has an owning directory iterator, we don't need it
anymore
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Tue, 26 Jul 2022 10:24:01 +0000 (12:24 +0200)]
tfa: bump d/control
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Tue, 26 Jul 2022 10:23:50 +0000 (12:23 +0200)]
tfa: docs fixup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Mon, 25 Jul 2022 11:31:34 +0000 (13:31 +0200)]
bump proxmox-tfa to 2.1.0
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Mon, 25 Jul 2022 11:35:43 +0000 (13:35 +0200)]
tfa: bump edition to 2021
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Mon, 25 Jul 2022 11:35:08 +0000 (13:35 +0200)]
tfa: clippy fixups
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Mon, 25 Jul 2022 11:16:22 +0000 (13:16 +0200)]
tfa: expose 'allow_subdomains' property
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Mon, 25 Jul 2022 08:31:35 +0000 (10:31 +0200)]
sys: enable CreateOptions::group_root/root_only
nix now has the required const fns
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Fri, 22 Jul 2022 09:58:18 +0000 (11:58 +0200)]
sys: file locking depends on timer feature
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Thu, 21 Jul 2022 13:41:46 +0000 (15:41 +0200)]
sys: introduce 'acl', 'crypt' and 'timer' features
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Thu, 21 Jul 2022 12:15:45 +0000 (14:15 +0200)]
bump proxmox-subscription to 0.2.0-1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Fabian Grünbichler [Thu, 21 Jul 2022 11:29:54 +0000 (13:29 +0200)]
add default signing key path
for use in dependent modules. this file should be shipped via
proxmox-archive-keyring.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Thu, 21 Jul 2022 11:23:57 +0000 (13:23 +0200)]
subscription: make key optional and support multiple keys
this is a breaking change requiring updates in proxmox-perl-rs and
proxmox-backup.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Wolfgang Bumiller [Thu, 21 Jul 2022 11:00:22 +0000 (13:00 +0200)]
bump proxmox-http dep to 0.6.4
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Thu, 21 Jul 2022 10:58:41 +0000 (12:58 +0200)]
http: bump d/control
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Thu, 21 Jul 2022 10:58:11 +0000 (12:58 +0200)]
bump proxmox-http to 0.6.4-1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Mira Limbeck [Wed, 20 Jul 2022 14:20:40 +0000 (16:20 +0200)]
http: fix proxy authorization header to include type
and encode the username:password string as base64 [0]. This fixes the
error 407 issue when using proxy authentication [1].
[0] https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Proxy-Authorization
[1] https://forum.proxmox.com/threads/checking-the-subscription-behind-a-proxy-fails.112063/
Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
Wolfgang Bumiller [Thu, 21 Jul 2022 10:54:54 +0000 (12:54 +0200)]
subscription: check in d/control
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>