Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Aug 2022 08:00:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 265800] net/gemserv: Update to 0.6.6
Message-ID:  <bug-265800-7788-dqYcdlmD7t@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-265800-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-265800-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265800

--- Comment #6 from Evilham <contact@evilham.com> ---
Hunch: you are using RSA keys that are not in PKCS8 format and we just foun=
d a
newly introduced bug in gemserv :-).

Can you confirm that your key's PEM headers look like this?

    -----BEGIN RSA PRIVATE KEY-----
    ...
    -----END RSA PRIVATE KEY-----

If that's the case, and removing "RSA " (aka, leaving only "BEGIN/END PRIVA=
TE
KEY") should get you a PKCS8 formatted key that ought to work.

Basing this hunch on:
https://git.sr.ht/~int80h/gemserv/tree/v0.6.6/item/src/lib/tls.rs#L37
And:
https://docs.rs/rustls-pemfile/0.2.1/rustls_pemfile/fn.pkcs8_private_keys.h=
tml

If this is confirmed maybe we can use:
https://docs.rs/rustls-pemfile/0.2.1/rustls_pemfile/fn.rsa_private_keys.html
To join that with the PKCS8 ones and publish 0.6.6 in ports with the patch,
while submitting it upstream.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-265800-7788-dqYcdlmD7t>