-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Wed, 31 May 2023 19:01:19 +0200 Source: crowdsec-custom-bouncer Architecture: source Version: 0.0.15-3 Distribution: unstable Urgency: medium Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org> Changed-By: Cyril Brulebois <cyril@debamax.com> Closes: 1035499 Changes: crowdsec-custom-bouncer (0.0.15-3) unstable; urgency=medium . * Fix failure to install if crowdsec is unpacked but not configured (Closes: #1035499): - If both cscli and /etc/crowdsec/config.yaml exist, register as previously, via `cscli bouncers add`. - If cscli exists but /etc/crowdsec/config.yaml doesn't, create an API key similarly to what cscli would do (32 hexadecimal digits), and queue registration in /var/lib/crowdsec/pending-registration. * Add ConditionPathExists=!/var/lib/crowdsec/pending-registration to the systemd unit accordingly, so that it's skipped until crowdsec's postinst deals with the pending-registration file, removes it, and starts the units. * Use mode 600 when creating crowdsec-custom-bouncer.yaml.local, since it contains an API key. Checksums-Sha1: 86aa355c128667678f54ccc2bd35200264d7f385 2502 crowdsec-custom-bouncer_0.0.15-3.dsc c68cb6f6aab618e21e3c3b0bfd759c17d8738cf8 6524 crowdsec-custom-bouncer_0.0.15-3.debian.tar.xz 234d7bedc60df81bf16ecf67443cb9c6669e8de0 6660 crowdsec-custom-bouncer_0.0.15-3_source.buildinfo Checksums-Sha256: e25b9d611faef374a641c64450177da970d4c65c7514a779f7dc163f252c2e9e 2502 crowdsec-custom-bouncer_0.0.15-3.dsc 6f3aff3b4f86c3618f4bd2dad5030d7168deb471e734f02ae4a3dcb1032bbde6 6524 crowdsec-custom-bouncer_0.0.15-3.debian.tar.xz 8eac9f63eb0df504b681eeb39ae28ff855d3a722b5566ab3f60ca3d033a8141b 6660 crowdsec-custom-bouncer_0.0.15-3_source.buildinfo Files: 92bbb8f545b9aaa0b5a2a8143378c625 2502 golang optional crowdsec-custom-bouncer_0.0.15-3.dsc 43d231d57c5d401dfff4f2c3c8a7e622 6524 golang optional crowdsec-custom-bouncer_0.0.15-3.debian.tar.xz ed6595317545cfd48f925e9ff3e7770d 6660 golang optional crowdsec-custom-bouncer_0.0.15-3_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJEBAEBCgAuFiEEtg6/KYRFPHDXTPR4/5FK8MKzVSAFAmR3fYIQHGtpYmlAZGVi aWFuLm9yZwAKCRD/kUrwwrNVILtTEACpo/SRXC+KLlYAoV96BPDO1NjPeelUCwZA Ab/4V1DLrzjpp7Oz36P9/1QF9Pi0nXmKz5OKo9o27ttyiXOnWzW/jou0w42UuYdC bqDU8CEWY+vC6IcAcQ7oNbkCP0i4linccWTeWHeAW8CM/U5XWlgLCWsPbJwS7rYj FDXso9B7FpSU3raZCyppJ3PMhX1roXa0fL0XPoIBUMHXS01IZt7WGPPj8wqjtljb WPz9pI3ksTEKRtoSf+ZYT1f6c7IBcZwLaLbRYlpgH+Kkeha5v8le79fTy66JVmPj V+83hi/Fjfasr4EmixvWieDF3mqwj5lhomiuFvgvONLRIgDe/pwZVSTwz9Pmfma4 Qr1DqnmkDZ3lkOCseNyMhbuadJ5R6pmoybxvxU0JRQlZQKII8YDoBFdHKDES5o9X bBPeyjePIKnXf/TDhn8YWfYNAUkKSDkgu4BqYO2x47V7ahYD6qZfmp5+mcNCBTGD Tpon3PLIhyKuzxpuOUnA4NdbkHBUokYPjadwW7NN6XlBI6O/vPD+SsDOm34vbHsj 4HJ1RbrLq3yvz7LA4sy3Zyj4fpBMT9sM94VJKDs3R4ErwRassSFWldezIlVqGRVL N++0gKhpZL1gHgroF0tnN7tBAwTMvcc/oLeQ0YVZCvZXvN3R616iJMMhf7+TkOKd xhLAFKdfBg== =e6l/ -----END PGP SIGNATURE-----