indeed, but a lot of Linux distribution come with it :)
otherwise it’s installable.
instead of using a library I can directly use subprocess with gnupg but in both case it seem gnupg require to import the public key to the keyring !? I don’t want that.
Thanks all for your input.
My only workaround was to check programmatically all those input
and set them with a setCustomValidity()
Too bad there isn’t a method to relaunch the validity across all the page :/
Cheers
Thank @daisyKutter@lemmy.ml
it’s look like that that code only verify the form when submitting… I need to check the validity when the element has been loaded.
btw checkValidity()
do not solve this issue as it return True
when the length is longer than maxlength
! O_o I guess this is were is lying the “bug”
For me this is a huge flaw ! I don’t understand how we (dev) are we still developing on “standard” that are so f*ck-up…
Thank you @coffee_poops@sh.itjust.works that exactly my question… how can I trigger the validation process again ?
It will not be digest to send all what I use for you to see it (it will lead to TL;DR)
but here an elements (loaded with XHR that give the problem
<input id="something" name="something" type="text" placeholder="aPlaceholder" minlength="3" maxlength="32" value="this value is more than the limiation of 32 char" autofocus required>
So normally this element should be invalid and a CSS selector of :invalid
should match. but it’s not the case because the browser seem to not run the validation check on loaded elements… !?
if we edit manually the input , for example removing one character then the validation process kick-in and the CSS selector work etc…
I finally manage to encrypt the body trough ptyhon-gnupg ( warning their documentation is still in alpha stage. )
now, remain to encrypt the subject (ThunderBird compatible) if you have any clues I’m all ears
When time permit I will publish my code in a pastbin.
Wubba Lubba dub-dub**