hi Jason,
Thanks! Very nice code. In my use case the output is coming from openvpn
cli (more precisely, openvpn --show-pkcs11-ids /path/to/opensc-pkcs11.so to
get the a list of certificates on a smartcard, so not looking at the
certificates themselves. I need to configure the config file for a
hi,
I am trying to parse he output of a command and not getting the desired
results.
This is the sanitized output:
Certificate
DN: O=SUB,DOMAIN.TLD, CN=usernamej
Serial: 33
Serialized id:
pkcs11:model=PKCS%2315%20emulated;token=1;manufacturer=piv_
Hi Natxo,
You can also use "crypto/x509" x509.ParseCertificate() after pem.Decode()
from "encoding/pem", if you
are only loading certificates and want a more rigorous way to determine the
certificate's contents.
Example
here:
https://github.com/glycerine/rpc25519/blob/master/selfcert/step5_view
Hello gophers,
We have tagged version v0.38.0 of golang.org/x/net in order to address a
security issue.
This version fixes a vulnerability in the golang.org/x/net/html package which
could result in the tokenizer emitting incorrect tokens and the parser
producing an incorrect HTML DOM.
The tok
obviously as soon as I post the question I think of the answer myself.
I need to use pointers.
Sorry for the noise, it's working now.
On Thursday, March 27, 2025 at 3:31:29 PM UTC+1 natxo@gmail.com wrote:
> hi,
>
> I am trying to parse he output of a command and not getting the desired
> r