• Where can I find the Git repository for libfile-keepass-perl

    From Andreas Tille@21:1/5 to All on Sat Jul 26 07:30:01 2025
    XPost: linux.debian.maint.perl

    Hi Perl team,

    today bug #1007914 libfile-keepass-perl came up as Bug of the Day[1].
    As far as I'm informed the Uploader Jonas Genannt is not active
    currently and we should care as a team for this bug.

    In contrast to all other Perl packages it seems the package was not
    migrated to Salsa yet (for whatever reason). Moreover I realised that
    the old Alioth archive[2] was cleaned up somehow and does not contain
    the old repositories any more.

    Before I start working on the package I would like to ask around whether someone might be able to restore the old repository to keep the packaging history. If this is not possible I can recreate a repository using
    `gbp import-dscs`.

    I also need help to fix the actual issue reported in bug #1007914 since
    my Perl skills are extremely limited. If someone would be able to
    provide a patch (either to BTS or to Git once we restored the
    repository) this would be extremely helpful.

    Kind regards
    Andreas.

    [1] https://salsa.debian.org/qa/tiny_qa_tools/-/wikis/Tiny-QA-tasks#bug-of-the-day
    [2] https://alioth-archive.debian.org/git/pkg-perl/

    --
    https://fam-tille.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Alex Muntada@21:1/5 to All on Sat Jul 26 12:00:01 2025
    XPost: linux.debian.maint.perl

    Hi Andreas,

    In contrast to all other Perl packages it seems the package was not
    migrated to Salsa yet (for whatever reason).

    Actually, it was but the tracker still links to alioth: https://salsa.debian.org/perl-team/modules/packages/libfile-keepass-perl

    Cheers,
    Alex

    --
    ⢀⣴⠾⠻⢶⣦⠀
    ⣾⠁⢠⠒⠀⣿⡁ Alex Muntada <[email protected]>
    ⢿⡄⠘⠷⠚⠋ Debian Developer 🍥 log.alexm.org
    ⠈⠳⣄⠀⠀⠀⠀


    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEaUBwKsbetWW2SKTt466XjoNOXn4FAmiEpr0ACgkQ466XjoNO Xn5Ixg//fZaoLnZNmaWQjyXgOv77UQV/VdNK1aFwCycczW6QHGuMyogq9AOHJ0du Evn+1bFQZcbl6q526QS9guI8YpEe/+rsi8w9veWvTIjASzZWmX0ksVo0jmPcHJ4k 8+RTp/+qlgNKyvawBdOMflR8Xze8faXNaN28WtlV0/b2bVTtDLMnwnbWg8mcbScn ma0FSv0T3qsYgt4qsJhgZng2K5vwFQZ9FHX6FDO510mbQyPIbN4/SS2GDjWhvCJj xofvbwnGvPQyVr/EFpRHbzV77SwFCp/3vs8P0uL47dWMBLFBTY+7R++H/HrNFwhr f4xs/iRp+iCxRKpe766Ux4Hmj4DWCf0wh8vAuFqfuTzpPVfzVyVDfkaocmdVsRkZ d2QC3xHL7hUJpJXP54A0UVrpFgNfgJG6tPr/XXdw0/cmo/izzpy5V8OZz2EkYsF3 /f6fwDUIZSUSiFdkK7GjEfhlqrp0ZO1RCetLEKkSs9iCO3OuDOWdgRy1e1pREOXk 6L0cHmMz74NNZUIB43G03lGKLSm2vs/L6BB61zMaIuf0+H5D2XMTNAD6/YWvN4RW mnkAK+X6HHUKB1OaqYNPVV7pEM2EBBIu2J8X2idOhWUw0AkNOhgIEC8MGv6C0Xng UaIFdD3nfBM2uJGukmT+gDAFZmXktIJL8EUI6FNAs8qYf/7f31Q=
    =psx5
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andreas Tille@21:1/5 to All on Sat Jul 26 15:30:02 2025
    XPost: linux.debian.maint.perl

    Hi ALex,

    Am Sat, Jul 26, 2025 at 11:58:34AM +0200 schrieb Alex Muntada:
    Actually, it was but the tracker still links to alioth: https://salsa.debian.org/perl-team/modules/packages/libfile-keepass-perl

    Sorry, seems it was to early this morning when I checked. ;-)
    I added myself to Uploaders to possibly upload this package.

    Any comment about bug #1007914?

    Kind regards
    Andreas .

    --
    https://fam-tille.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Damyan Ivanov@21:1/5 to All on Sat Jul 26 17:00:01 2025
    XPost: linux.debian.maint.perl

    -=| Andreas Tille, 26.07.2025 15:29:28 +0200 |=-
    Any comment about bug #1007914?

    I think the problem is on line 1248 of lib/File/KeePass.pm:

    s/([^\x00-\x7F])/'&#'.(ord $1).';'/ge;

    It replaces all non-ASCII characters with &#<ord>;.

    Notably, this does not affect any controll characters like the escape
    character (which is a perfectly valid ASCII character, just not
    allowed in XML). It would also not work for vertical tab, nul and all
    sorts of other funny characters.

    Changing that to

    s/([^\x20-\x7F])/'&#'.(ord $1).';'/ge;

    would fix the problem.

    Or at least I think so. With no way to replicate the issue, I am just
    poking blindly here.


    -- Damyan

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andreas Tille@21:1/5 to All on Sun Jul 27 14:30:01 2025
    XPost: linux.debian.maint.perl

    Hi Damyan,

    Am Sat, Jul 26, 2025 at 05:51:17PM +0300 schrieb Damyan Ivanov:
    Changing that to

    s/([^\x20-\x7F])/'&#'.(ord $1).';'/ge;

    would fix the problem.

    Thanks a lot. I've pushed the change to Git[1].

    @Rhonda: Could you give the patch a try? If it helps I can upload to experimental closing the bug and you can reopen if needed.

    Kind regards
    Andreas.


    [1] https://salsa.debian.org/perl-team/modules/packages/libfile-keepass-perl/-/commit/ae5aff98ac252def920e221a6de6aed7abf81b6b

    --
    https://fam-tille.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)