Oliver
Thank you very much for your answers to all our questions, you are very
kind, I appreciate that you always respond very quickly.
I keep trying to prevent passwords from being entered with ("'` ´), I'm
trying with this expression and it doesn't work for me, what am I doing
wrong?
regex: "\\ [^ '\" `´] \\"
Thanks
Gabriel
El mié, 18 ago 2021 a las 2:33, Oliver Welter (<[email protected]>) escribió:
> Hi Gabriel,
>
> ask_client_password:
> class: OpenXPKI::Server::Workflow::Activity::Noop
> label:
> I18N_OPENXPKI_UI_WORKFLOW_ACTION_CSR_ASK_CLIENT_PASSWORD_LABEL
> description:
> I18N_OPENXPKI_UI_WORKFLOW_ACTION_CSR_ASK_CLIENT_PASSWORD_DESC
> input:
> - password_retype
> validator:
> - global_password_quality
> * - my_password_style_validator*
>
> After the "condition" block, add:
>
> validator:
> my_password_style_validator:
> class: OpenXPKI::Server::Workflow::Validator::Regex
> arg:
> - $_password
> param:
> regex: "\\A your regex - backslashes need quoting! \\z"
>
>
> Oliver
>
> Am 17.08.21 um 19:50 schrieb Gabriel Carissimo:
>
> Hi, Oliver
> Sorry, but I can't understand what to do, I'm not sure how to configure
> the workflow. if you are so kind, can you give me an example?
>
> What should I add ?, pram, match?
>
> ask_client_password:
> class: OpenXPKI::Server::Workflow::Activity::Noop
> label:
> I18N_OPENXPKI_UI_WORKFLOW_ACTION_CSR_ASK_CLIENT_PASSWORD_LABEL
> description:
> I18N_OPENXPKI_UI_WORKFLOW_ACTION_CSR_ASK_CLIENT_PASSWORD_DESC
> input:
> - password_retype
> validator:
> - global_password_quality
>
> Thanks
>
> El sáb, 14 ago 2021 a las 4:21, Oliver Welter (<[email protected]>) escribió:
>
>> Hi Gabriel,
>>
>> you need to add a new validator to the "ask_client_password" action
>> definition:
>>
>> https://github.com/openxpki/openxpki-config/blob/community/config.d/realm.tpl/workflow/def/certificate_signing_request_v2.yaml#L417
>>
>> You can find a description how workflow config is setup here
>>
>> https://openxpki.readthedocs.io/en/latest/reference/configuration/workflow.html
>>
>> best regards
>>
>> Oliver
>>
>>
>> Am 13.08.21 um 19:00 schrieb Gabriel Carissimo:
>> > Thank you very much Oliver, for responding!
>> > I do not have much knowledge about Openxpki I am quite new, where
>> should
>> > I configure the Regex for the certificate password?
>> >
>> > Thanks
>> > Gabriel
>> >
>> > El vie, 13 ago 2021 a las 2:33, Oliver Welter (<[email protected]
>> > <mailto:[email protected]>>) escribió:
>> >
>> > Hi,
>> >
>> > no . this validator checks the quality only.
>> >
>> > To control the allowed characters you need to add another validator
>> > based on OpenXPKI::Server::Workflow::Validator::Regex - there should
>> > be several such examples in the code already.
>> >
>> > Oliver
>> >
>> > Am 12.08.21 um 23:27 schrieb Gabriel Carissimo:
>> >> Hi
>> >> Is it possible to add a regex in password_quality? to disallow the
>> >> following characters' " `
>> >>
>> >> Thanks
>> >> Gabriel
>> >>
>> >>
>> >> _______________________________________________
>> >> OpenXPKI-users mailing list
>> >> [email protected] <mailto:
>> [email protected]>
>> >> https://lists.sourceforge.net/lists/listinfo/openxpki-users <
>> https://lists.sourceforge.net/lists/listinfo/openxpki-users>
>> >
>> >
>> > --
>> > Protect your environment - close windows and adopt a penguin!
>> >
>> > _______________________________________________
>> > OpenXPKI-users mailing list
>> > [email protected]
>> > <mailto:[email protected]>
>> > https://lists.sourceforge.net/lists/listinfo/openxpki-users
>> > <https://lists.sourceforge.net/lists/listinfo/openxpki-users>
>> >
>> >
>> >
>> > _______________________________________________
>> > OpenXPKI-users mailing list
>> > [email protected]
>> > https://lists.sourceforge.net/lists/listinfo/openxpki-users
>> >
>>
>>
>> --
>> Protect your environment - close windows and adopt a penguin!
>>
>>
>> _______________________________________________
>> OpenXPKI-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/openxpki-users
>>
>
>
> _______________________________________________
> OpenXPKI-users mailing
> [email protected]https://lists.sourceforge.net/lists/listinfo/openxpki-users
>
>
> --
> Protect your environment - close windows and adopt a penguin!
>
> _______________________________________________
> OpenXPKI-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openxpki-users
>
_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users