This is weird because the license file appears to be correct, contents do not seem to be corrupted.
Also, it was given to the charm in base64 format, and they ended up correctly in plain text inside the units at /etc/landscape/license.txt. The contents there match exactly the contents of original file before passed to charm option in encoded form.
Also, the part "gpg: WARNING: no command supplied. Trying to guess what you mean ..." seem unexpected.
If I manually run that gpg command, the result is the same:
root@landscape-2:/etc/landscape# gpg --skip-verify --output - /etc/landscape/license.txt
gpg: WARNING: no command supplied. Trying to guess what you mean ...
gpg: invalid armor header: iQEzBAEBCgAdFiEENTODksx68VxYHaPbcqZmZcXIjuYFAmTlPXQACgkQcqZmZcXI\n
This is the (obscured) content of the license file as it is inside the unit, just for reference:
============================8<-----------------------------
root@landscape-2:/etc/landscape# cat license.txt
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
This is weird because the license file appears to be correct, contents do not seem to be corrupted.
Also, it was given to the charm in base64 format, and they ended up correctly in plain text inside the units at /etc/landscape/ license. txt. The contents there match exactly the contents of original file before passed to charm option in encoded form.
Also, the part "gpg: WARNING: no command supplied. Trying to guess what you mean ..." seem unexpected.
If I manually run that gpg command, the result is the same:
root@landscape- 2:/etc/ landscape# gpg --skip-verify --output - /etc/landscape/ license. txt ENTODksx68VxYHa PbcqZmZcXIjuYFA mTlPXQACgkQcqZm ZcXI\n
gpg: WARNING: no command supplied. Trying to guess what you mean ...
gpg: invalid armor header: iQEzBAEBCgAdFiE
This is the (obscured) content of the license file as it is inside the unit, just for reference:
======= ======= ======= ======= 8<----- ------- ------- ------- --- 2:/etc/ landscape# cat license.txt
root@landscape-
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
{ :"xxxxxxxxxxxxx xxx", role":" BasicFeatures" , license_ key":"1INxxxxxx xxxxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxxxxxxxxxx xxGTzv" , expires" :"202x- xx-xx" ENTODksx68VxYHa PbcqZmZcXIjuYFA mTlPXQACgkQcqZm ZcXI ANORG4C/ rrFFGoQHk+ Q3c4ynnF96qeKLV a1mL/WdxLahP+ xA4 pzmvuvETsyUrWgg == ======= ======= ======= 8<----- ------- ------- ------- ---
"licensee"
"licenses":[
{
"
"seats":yyy,
"
"
}
]
}
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCgAdFiE
(deleted lines...)
uhnsOoORDPDQ27z
ETKttDoP45r0uXh
=71TG
-----END PGP SIGNATURE-----
=======