On Mon, 2022-03-14 at 16:35 +0000, José Abílio Matos wrote:
> On Monday, 14 March 2022 11.04.56 WET Simo Sorce wrote:
> > Have you tried setting crypto policies to LEGACY in case the server is
> > old and supports only bad cryptography?
> > 
> > Simo.
> 
> How do I do that?
> 
> Running update-crypto-policies always returns an error saying that the 
> argument is not recognised:
> 
> [root@griffin ~]# update-crypto-policies –-set LEGACY
> usage: update-crypto-policies.py [-h] [--set [POLICY] | --show | --is-applied 
> > --check] [--no-reload]
> update-crypto-policies.py: error: unrecognized arguments: –-set LEGACY
> [root@griffin ~]# update-crypto-policies –-show
> usage: update-crypto-policies.py [-h] [--set [POLICY] | --show | --is-applied 
> > --check] [--no-reload]
> update-crypto-policies.py: error: unrecognized arguments: –-show
> [root@griffin ~]# update-crypto-policies –-check
> usage: update-crypto-policies.py [-h] [--set [POLICY] | --show | --is-applied 
> > --check] [--no-reload]
> update-crypto-policies.py: error: unrecognized arguments: –-check
> 
> What am I missing?

If you have actually copy/pasted from the terminal it looks to me you
used an incorrect character when trying to pass a long option, at least
my MUA shows me you prepend long option names with "–-" instead of
using the correct "--", maybe your terminal uses the same glyph to
represent to different characters?

Simo.

> 
> Regards,
> _______________________________________________
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
> Do not reply to spam on the list, report it: 
> https://pagure.io/fedora-infrastructure

-- 
Simo Sorce
RHEL Crypto Team
Red Hat, Inc



_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to