Bug#1124641: asterisk: RSA Keys: astgenkey manpage => wrong key directory

Tzafrir Cohen tzafrir at cohens.org.il
Mon Jan 5 11:26:21 GMT 2026


Hi,

On Sun, Jan 04, 2026 at 08:40:50PM +0100, Benoit Panizzon via Pkg-voip-maintainers wrote:

>When keys are put in /var/lib/asterisk/keys they are not being loaded.
>This is not the location of the 'Debian' flavour Asterisk looks for the keys.
>
>Correct for Debian is: /usr/share/asterisk/keys/

Are you sure? Where is it set?

https://sources.debian.org/src/asterisk/1%3A22.7.0~dfsg%2B~cs6.15.60671435-1/debian/patches/2010_astdatadir.patch

This patch sets astdatadir to /usr/share/asterisk but leaves (as can be
seen from the context) things like the keys dir under the astvarlibdir .

IIRC, astdatadir was added upstream when we merged most of our changes
to use /usr/share/asterisk , leaving only minor changes like that patch.

So I suspect the bug is that astkeydir is set to some other value
elsewhere, and that this should be fixed.

-- 
mail / xmpp / matrix: tzafrir at cohens.org.il



More information about the Pkg-voip-maintainers mailing list