Steffen Jaeckel
Steffen Jaeckel
> Would be nice if we can load this: > > ``` > -----BEGIN RSA PRIVATE KEY----- > MIIEogIBAAKCAQEA0KXMyuA9+cL1xMjAzoQNYs3ieZkNxnJxXvgDYx+vb+K30DiBdQyM5i7nCUcQ > oMPswnNTCx4NBJX4km0pp53NsqGIcT+OM0URPWMaCfVeAvYFPYe5BBxtVKQit0qOD95Mb13oxr3m > LKC1VKHsvbNSexlkjebq61lhirBlDGla6d1t9XElkLnZ+Z/H+BCPgGpKEriSQAcp27Ke6EbHlVNo > l25lnV6Z3pZkmeAv9SSWEnw/MHrG64AM7e0izOaNtPheLp1PGqp5vD2HgMD7L6VZn+PsZ4RPskd1 > bVaxfsbdvgUD6C2hhrxle9QUtzhfi0MO1sq5+B4wJ6yT1jd3n9uujwIDAQABAoIBAAntXD0/hm4G > lXyg6UeKJzw5u9pO6sWz4UAEVd5BU4QOdJzJa3i/DvR5a9BYW2qtbRY4DXiccUB0GukV8jhBklgQ >...
> I am unable to load this X25519 public key > > ``` > -----BEGIN PUBLIC KEY----- > MCowBQYDK2VuAyEA6ngG9yGoVwUSyPbvtOjWIMSaUp5N9eqnfexkb7HofkE= > -----END PUBLIC KEY----- > ``` I indeed forgot x25519 ......
... and I've added a testvector for a DSA public key.
> I am trying to use `pem_decode_openssh` to load: > > ``` > -----BEGIN OPENSSH PRIVATE KEY----- > b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAlwAAAAdzc2gtcn > NhAAAAAwEAAQAAAIEAuOfJNIoBYHL5Kw41CqNICID1tPu0BD3JO/w1yKRgJB8xw00C7u/y > M8QQwi+4kIRdnkMGkf7PUl47Ng1fzk90lzN0IyTuD0t5x5M3z+2Y6pvSxkonAYEfMeSz5s > aDVQN6jiJzD+cYYYGymGLrLgTAJaRIKv0/bgryyLr0ZxoQUw8AAAII7z6CTO8+gkwAAAAH > c3NoLXJzYQAAAIEAuOfJNIoBYHL5Kw41CqNICID1tPu0BD3JO/w1yKRgJB8xw00C7u/yM8 > QQwi+4kIRdnkMGkf7PUl47Ng1fzk90lzN0IyTuD0t5x5M3z+2Y6pvSxkonAYEfMeSz5saD >...
> A build with `-Wall -Werror -Wextra` fails like this https://github.com/DCIT/perl-CryptX/actions/runs/6525537050/job/17718404851 Not for me with any of those two versions of GCC: ``` $ cc --version cc (Ubuntu 11.4.0-1ubuntu1~22.04) [...]...
> ``` > int pem_decode_filehandle(FILE *f, ltc_pka_key *k, const password_ctx *pw_ctx); > int pem_decode(const void *buf, unsigned long len, ltc_pka_key *k, const password_ctx *pw_ctx); > ``` I've added those, and...
@babelouest could you please check whether we could still make it for debian 12 if we tagged either * develop as it is? or * the https://github.com/libtom/libtomcrypt/tree/add-pem-support branch? I don't...
> I've tested both branches master and `add-pem-support`. They both build and package fine, and the autopkgtests pass too. Cool, thanks. Could you please check https://github.com/libtom/libtommath/issues/418#issuecomment-1369023525 and recreate what @dod38fr...
Closing this, since @karel-m and me basically have the same opinion on this. Please re-open if you have further questions/comments.
> Thanks for the awesome (and low footprint) lib :) :) > * Shamir shared secret, e.g. compatible with Pycryptodome's ones Yeah, that would be nice. > * Providing an...