proxmox/proxmox-subscription/debian
Fabian Grünbichler 4ec9a8183d add new proxmox-subscription crate
taking over slighlty generified helpers and types:
- subscription info and status
- checking subscription status with shop
- reading/writing local subscription-related files

the perl-based code uses base64 with newlines for the data, and base64
without padding for the checksum. accordingly, calculate the checksum
with and without newlines, and compare the decoded checksum instead of
the encoded one.

furthermore, the perl-based code encodes the subscription status using
Capitalized values instead of lowercase, so alias those for the time
being.

PVE also stores the serverid as 'validdirectory', so add that as alias
as well.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-07-19 15:20:36 +02:00
..
changelog add new proxmox-subscription crate 2022-07-19 15:20:36 +02:00
copyright add new proxmox-subscription crate 2022-07-19 15:20:36 +02:00
debcargo.toml add new proxmox-subscription crate 2022-07-19 15:20:36 +02:00