From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=altlinux.org; s=dkim; h=Subject:In-Reply-To:Content-Type:MIME-Version: References:Message-ID:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=9QY6nNcUN9ROX3q2DnwmaVoNs3toaj4xMoQiw9doiTc=; b=V9lMwRyEaR/Y5fUv4ZGvUGxAI 8CPHt0QT10q/oyvzqrTnIgJEuqfRxQNoKNNl+lMl/Uv0ruhocgcRyksbTNqlm/hNT4mOfnaf64buq O1ZLnf4EjE/Y0b9lSl//pCSIpkdDzhRJRZ+zH/woFEaD54sjNbtqJYXqTcXQBe5exf1eO51dg0XBV THmFJ91o+V8g6O93AP9680/P19i36b+v+56Uvj+jbtjDEOSjEdEsBRrOZ6BkQkpvH4vj2hcAEhrjD 70zXQVfBPzAjy2u95inZRXppNUWohCgETE0+oA4h6n3BmIY7oX4a2r3YpGQfMzRxHBs7X28Z2AlnL WO5vMPJSg==; Date: Sun, 17 May 2020 22:34:55 +0300 From: Arseny Maslennikov To: ALT Linux Team development discussions Message-ID: <20200517193455.GB433821@cello> References: <20200517144055.GA2073276@portlab> <20200517155340.GA4190856@cello> <20200517160648.GA2298449@portlab> <20200517164617.GA433821@cello> <20200517171624.GA2331754@portlab> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="aVD9QWMuhilNxW9f" Content-Disposition: inline In-Reply-To: <20200517171624.GA2331754@portlab> OpenPGP: url=http://grep.cs.msu.ru/~ar/pgp-key.asc X-SA-Exim-Connect-IP: 37.204.119.143 X-SA-Exim-Mail-From: arseny@altlinux.org X-SA-Exim-Version: 4.2.1 X-SA-Exim-Scanned: Yes (on mail.cs.msu.ru) Subject: Re: [devel] =?utf-8?b?0J/QvtC70YzQt9C+0LLQsNGC0LXQu9GMINC4INCz0YA=?= =?utf-8?b?0YPQv9C/0LAg0LTQu9GPIHByb3NvZHk=?= X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2020 19:35:04 -0000 Archived-At: List-Archive: List-Post: --aVD9QWMuhilNxW9f Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 17, 2020 at 08:16:25PM +0300, Vladimir D. Seleznev wrote: > On Sun, May 17, 2020 at 07:46:17PM +0300, Arseny Maslennikov wrote: > > On Sun, May 17, 2020 at 07:06:48PM +0300, Vladimir D. Seleznev wrote: > > > On Sun, May 17, 2020 at 06:53:40PM +0300, Arseny Maslennikov wrote: > > > > On Sun, May 17, 2020 at 05:40:55PM +0300, Vladimir D. Seleznev wrot= e: > > > > > Hi! > > > > >=20 > > > > > =D0=A1=D0=B5=D0=B9=D1=87=D0=B0=D1=81 =D0=B4=D0=BB=D1=8F =D0=BF=D0= =B0=D0=BA=D0=B5=D1=82=D0=B0 prosody =D1=81=D0=BE=D0=B7=D0=B4=D0=B0=D1=91=D1= =82=D1=81=D1=8F =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0= =B5=D0=BB=D1=8C =D0=B8 =D0=B3=D1=80=D1=83=D0=BF=D0=BF=D0=B0 =D1=81 =D0=B8= =D0=BC=D0=B5=D0=BD=D0=B5=D0=BC > > > >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D0=BE=D0=B2=D0=B5=D1=80=D0=B8=D1=82=D1=8C > > > > > =D0=BA=D0=BE=D0=BD=D1=84=D0=B8=D0=B3=D1=83=D1=80=D0=B0=D1=86=D0= =B8=D1=8E. > > > > >=20 > > > > > =D0=AF =D0=BD=D0=B5 =D1=83=D0=B2=D0=B5=D1=80=D0=B5=D0=BD, =D1=87= =D1=82=D0=BE =D1=8D=D1=82=D0=BE =D1=85=D0=BE=D1=80=D0=BE=D1=88=D0=B8=D0=B9 = =D1=81=D0=BF=D0=BE=D1=81=D0=BE=D0=B1 =D0=BF=D0=BE=D0=BF=D1=80=D0=B0=D0=B2= =D0=B8=D1=82=D1=8C =D1=81=D0=B8=D1=82=D1=83=D0=B0=D1=86=D0=B8=D1=8E, =D0=B8= =D0=BD=D0=B5 =D1=83=D0=B2=D0=B5=D1=80=D0=B5=D0=BD, > > > > > =D0=BA=D0=B0=D0=BA=D0=BE=D0=B9 =D0=B8=D0=B7 =D0=B4=D0=B2=D1=83=D1= =85 =D1=85=D1=83=D0=B6=D0=B5. =D0=95=D1=81=D0=BB=D0=B8 =D1=83 =D0=BA=D0=BE= =D0=B3=D0=BE-=D1=82=D0=BE =D0=B5=D1=81=D1=82=D1=8C =D0=B8=D0=B4=D0=B5=D0=B8= =D0=BB=D1=83=D1=87=D1=88=D0=B5 =D0=B8=D0=BB=D0=B8 =D0=B2=D0=BE=D0=B7=D1=80= =D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D1=8F =E2=80=94 > > > > > =D0=BE=D0=B7=D0=B2=D1=83=D1=87=D1=8C=D1=82=D0=B5. =D0=95=D1=81=D0= =BB=D0=B8 =D0=B2=D0=BE=D0=B7=D1=80=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B9 =D0= =BD=D0=B5 =D0=B1=D1=83=D0=B4=D0=B5=D1=82 =E2=80=94 =D0=BE=D1=82=D0=BF=D1=80= =D0=B0=D0=B2=D0=BB=D1=8E =D1=8D=D1=82=D0=BE =D0=B7=D0=B0=D0=B4=D0=B0=D0=BD= =D0=B8=D0=B5 =D0=B2 =D0=A1=D0=B8=D0=B7=D0=B8=D1=84 =D0=B2 > > > > > =D1=81=D1=80=D0=B5=D0=B4=D1=83. > > > > >=20 > > > >=20 > > > > =D0=91=D0=B5=D0=B3=D0=BB=D0=BE =D0=BF=D0=BE=D1=81=D0=BC=D0=BE=D1=82= =D1=80=D0=B5=D0=BB > > > > http://git.altlinux.org/gears/p/prosody.git?p=3Dprosody.git;a=3Dblo= b;f=3Dprosody/util/startup.lua;h=3D24ed60267882d8ce44b00fa2292d295ecb891504= ;hb=3D59600a897bda36bd2dbda45037d592c6f6a8f561#l446 > > > >=20 > > > > =D0=A3=D0=BF=D0=BE=D0=BC=D0=B8=D0=BD=D0=B0=D1=8E=D1=82=D1=81=D1=8F = prosody_user, prosody_group =D0=BD=D0=B0 =D1=81=D1=82=D1=80=D0=BE=D1=87=D0= =BA=D0=B0=D1=85 465-466. =D0=A3 =D0=BD=D0=B0=D1=81 =D0=BF=D0=BE > > > > =D0=BA=D1=80=D0=B0=D0=B9=D0=BD=D0=B5=D0=B9 =D0=BC=D0=B5=D1=80=D0=B5= =D0=B2 =D1=81=D0=B5=D1=80=D0=B2=D0=B8=D1=81-=D1=8E=D0=BD=D0=B8=D1=82=D0=B5= =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BD=D0=BE "=D0=B7=D0=B0=D0=BF=D1=83= =D1=81=D0=BA=D0=B0=D1=82=D1=8C/=D0=BE=D1=81=D1=82=D0=B0=D0=BD=D0=B0=D0=B2= =D0=BB=D0=B8=D0=B2=D0=B0=D1=82=D1=8C =D0=BF=D1=80=D0=B8 =D0=BF=D0=BE=D0=BC= =D0=BE=D1=89=D0=B8 > > > > /usr/bin/prosodyctl", =D1=82. =D0=B5. =D1=8D=D1=82=D0=B0 =D1=84=D1= =83=D0=BD=D0=BA=D1=86=D0=B8=D1=8F =D0=B8=D1=81=D0=BF=D0=BE=D0=BB=D1=8C=D0= =B7=D1=83=D0=B5=D1=82=D1=81=D1=8F. =D0=9C=D0=BE=D0=B6=D0=B5=D1=82 =D0=B1=D1= =8B=D1=82=D1=8C, > > > > =D0=B2 =D0=BA=D0=BE=D0=BD=D1=84=D0=B8=D0=B3=D1=83=D1=80=D0=B0=D1=86= =D0=B8=D0=B8 =D0=BF=D0=BE =D1=83=D0=BC=D0=BE=D0=BB=D1=87=D0=B0=D0=BD=D0=B8= =D1=8E =D0=BC=D0=BE=D0=B6=D0=BD=D0=BE =D1=8D=D1=82=D0=BE =D1=83=D0=BA=D0=B0= =D0=B7=D0=B0=D1=82=D1=8C? > >=20 > > =D0=95=D1=81=D0=BB=D0=B8 =D0=B5=D1=81=D1=82=D1=8C =D0=B4=D1=80=D1=83=D0= =B3=D0=B8=D0=B5 =D0=BC=D0=B5=D1=81=D1=82=D0=B0, =D0=BA=D0=BE=D1=82=D0=BE=D1= =80=D1=8B=D0=B5 =D0=BD=D0=B5 =D1=85=D0=BE=D0=B4=D1=8F=D1=82 =D0=BA prosody_= {user,group}, =D1=8D=D1=82=D0=BE =D0=B1=D0=B0=D0=B3 > > =D0=B2 =D0=B0=D0=BF=D1=81=D1=82=D1=80=D0=B8=D0=BC=D0=B5, =D0=BA=D0=BE= =D1=82=D0=BE=D1=80=D1=8B=D0=B9 =D0=BD=D0=B0=D0=B4=D0=BE =D1=80=D0=B5=D0=BF= =D0=BE=D1=80=D1=82=D0=B8=D1=82=D1=8C. > > =D0=95=D1=81=D0=BB=D0=B8 =D0=BD=D0=B5=D0=BB=D1=8C=D0=B7=D1=8F, =D1=82= =D0=BE... >=20 > =D0=9F=D1=80=D0=BE=D1=87=D0=B8=D1=82=D0=B0=D0=B9 =D0=BA=D0=BE=D0=B4: =D0= =BE=D0=BD=D0=B8 =D1=85=D0=BE=D0=B4=D1=8F=D1=82 =D0=BA^W^W =D0=B1=D0=B5=D1= =80=D1=83=D1=82 =D0=B7=D0=BD=D0=B0=D1=87=D0=B5=D0=BD=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D0=B2 =D0=B0=D0=BB=D1=8C=D1=82-=D0=BF=D0=B0=D0=BA=D0=B5=D1=82=D0=B5= =D0=BC=D1=8B =D0=B2=D1=8B=D1=81=D1=82=D0=B0=D0=B2=D0=B8=D0=BC =D0=BA=D0=B0= =D0=BA =D1=81=D0=BB=D0=B5=D0=B4=D1=83=D0=B5=D1=82. >=20 > > >=20 > > > =D0=92=D0=BE=D1=82 =D1=82=D1=83=D1=82 > > > http://git.altlinux.org/gears/p/prosody.git?p=3Dprosody.git;a=3Dblob;= f=3Dprosody/util/startup.lua;h=3D24ed60267882d8ce44b00fa2292d295ecb891504;h= b=3D59600a897bda36bd2dbda45037d592c6f6a8f561#l465 > > > =D0=B8 =D0=B2=D0=BE=D1=82 =D1=82=D1=83=D1=82 > > > http://git.altlinux.org/gears/p/prosody.git?p=3Dprosody.git;a=3Dblob;= f=3Dprosody/prosodyctl;h=3D982b102ee71bc26d9ca5671cd5bfe057e9aee81b;hb=3D59= 600a897bda36bd2dbda45037d592c6f6a8f561#l703 > > > =D0=BF=D1=80=D0=B8=D0=BD=D0=B8=D0=BC=D0=B0=D0=B5=D1=82=D1=81=D1=8F = =D1=80=D0=B5=D1=88=D0=B5=D0=BD=D0=B8=D0=B5 =D0=BE=D0=B1 =D0=B8=D1=81=D0=BF= =D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B8 =D0=BF=D0=BE= =D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8F prosody. =D0= =A3=D0=B6=D0=B5 =D0=B4=D0=B2=D0=B0 > > > =D0=BD=D0=B5=D0=B7=D0=B0=D0=B2=D0=B8=D1=81=D0=B8=D0=BC=D1=8B=D1=85 = =D0=BC=D0=B5=D1=81=D1=82=D0=B0. > >=20 > > =D0=9E=D0=B1=D0=B0 =D0=B2 prosodyctl. >=20 > =D0=9D=D0=B5=D1=82, =D0=BE=D0=B1=D0=B0 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=D1=82=D1=87 =D0=B8=D0=BC= =D0=BE=D1=82=D0=BF=D1=80=D0=B0=D0=B2=D0=B8=D1=82=D1=8C =D0=BD=D0=B0 =D1=8D= =D1=82=D0=B8 =D0=BC=D0=B5=D1=81=D1=82=D0=B0, =D0=BD=D0=B0 configure, =D0=BD= =D0=B0 makefile. =D0=9B=D0=B0=D0=B4=D0=BD=D0=BE, =D1=87=D0=B5=D0=B3=D0=BE =D0=BF=D1=80=D0=B5= =D0=BF=D0=B8=D1=80=D0=B0=D1=82=D1=8C=D1=81=D1=8F. =D0=92=D0=B0=D1=80=D0=B8= =D0=B0=D0=BD=D1=82 =D0=BF=D0=B0=D1=82=D1=87=D0=B0 =D0=B2=D0=BD=D0=B8=D0=B7= =D1=83, take care. =D0=AF =D0=B2 =D0=BB=D1=83=D0=B0 =D0=BD=D0=B8 =D0=B1=D1=83=D0=BC-=D0=B1=D1= =83=D0=BC, =D0=BF=D1=80=D0=BE=D1=88=D1=83 =D0=B1=D0=BE=D0=BB=D1=8C=D0=BD=D0= =BE =D0=BD=D0=B5 =D0=B1=D0=B8=D1=82=D1=8C. > > http://git.altlinux.org/gears/p/prosody.git?p=3Dprosody.git;a=3Dblob;f= =3Dprosody/HACKERS;h=3Dcae98091e1fb630d9fec9d24543d4d006743ac5a;hb=3D59600a= 897bda36bd2dbda45037d592c6f6a8f561 > > https://prosody.im/discuss#mailing_list > > =D0=A1=D0=BF=D1=80=D0=BE=D1=81=D0=B8=D1=82=D1=8C, =D0=B4=D0=BE=D1=81=D1= =82=D0=B0=D1=82=D0=BE=D1=87=D0=BD=D0=BE =D0=BB=D0=B8 =D1=8D=D1=82=D0=BE=D0= =B3=D0=BE. > >=20 > > =D0=A3 =D0=BD=D0=B8=D1=85 =D1=83=D0=B6=D0=B5 =D0=B5=D1=81=D1=82=D1=8C = =D0=BF=D1=80=D0=B5=D1=86=D0=B5=D0=B4=D0=B5=D0=BD=D1=82=D1=8B =D1=80=D0=B5= =D1=80=D0=B0=D0=B9=D1=82=D0=B0 /usr/bin/prosodyctl =D0=B8 > > /usr/bin/prosody, =D1=81=D0=BC. makefile. > >=20 > > >=20 > > > =D0=9D=D0=BE =D0=B2=D1=81=D1=91 =D0=B5=D1=89=D1=91 =D0=BF=D0=BE=D0=BA= =D0=B0 =D0=B7=D0=B0=D0=B4=D0=B0=D0=BD=D0=B8=D0=B5 =D0=BD=D0=B5 =D0=BE=D1=82= =D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=BE =D0=B2 =D0=A1=D0=B8=D0=B7= =D0=B8=D1=84. > > >=20 >=20 =2E/configure \ --install-as=3D'_prosody' \ <...> -------8<------------ diff --git a/configure b/configure index 2b58efe5..87e5a636 100755 --- a/configure +++ b/configure @@ -19,6 +19,7 @@ OPENSSL_LIB=3D"crypto" CC=3D"gcc" LD=3D"gcc" RUNWITH=3D"lua" +DAEMON_USER_GROUP=3D"prosody" EXCERTS=3D"yes" PRNG=3D PRNGLIBS=3D @@ -56,6 +57,8 @@ Configure $APP_NAME prior to building. or \$LUA_DIR/bin if --with-lua is used. --runwith=3DBINARY What Lua binary to set as runtime environmen= t. Default is $RUNWITH +--install-as=3DUSER What user and primary group $APP_NAME should= be installed and run as. + Default is "prosody" --with-lua-include=3DDIR You can also specify Lua's includes dir. Default is \$LUA_DIR/include --with-lua-lib=3DDIR You can also specify Lua's libraries dir. @@ -239,6 +242,9 @@ do RUNWITH=3D"$value" RUNWITH_SET=3Dyes ;; + --install-as) + DAEMON_USER_GROUP=3D"$value" + ;; --no-example-certs) EXCERTS=3D ;; @@ -576,6 +582,7 @@ LDFLAGS=3D$LDFLAGS CC=3D$CC LD=3D$LD RUNWITH=3D$RUNWITH +DAEMON_USER_GROUP=3D$DAEMON_USER_GROUP EXCERTS=3D$EXCERTS RANDOM=3D$PRNG RANDOM_LIBS=3D$PRNGLIBS diff --git a/makefile b/makefile index 0b1c8788..47e551d7 100644 --- a/makefile +++ b/makefile @@ -89,6 +89,7 @@ prosody.install: prosody =20 prosodyctl.install: prosodyctl sed "1s| lua$$| $(RUNWITH)|; \ + s|^CFG_DAEMON_USER_GROUP=3D.*;$$|CFG_DAEMON_USER_GROUP=3D'$(DAEMON_USER_= GROUP)';|; \ s|^CFG_SOURCEDIR=3D.*;$$|CFG_SOURCEDIR=3D'$(INSTALLEDSOURCE)';|; \ s|^CFG_CONFIGDIR=3D.*;$$|CFG_CONFIGDIR=3D'$(INSTALLEDCONFIG)';|; \ s|^CFG_DATADIR=3D.*;$$|CFG_DATADIR=3D'$(INSTALLEDDATA)';|; \ diff --git a/prosodyctl b/prosodyctl index 82b5faaa..a3b327d2 100755 --- a/prosodyctl +++ b/prosodyctl @@ -10,6 +10,7 @@ -- prosodyctl - command-line controller for Prosody XMPP server =20 -- Will be modified by configure script if run -- +CFG_DAEMON_USER_GROUP=3DCFG_DAEMON_USER_GROUP or "prosody"; CFG_SOURCEDIR=3DCFG_SOURCEDIR or os.getenv("PROSODY_SRCDIR"); CFG_CONFIGDIR=3DCFG_CONFIGDIR or os.getenv("PROSODY_CFGDIR"); CFG_PLUGINDIR=3DCFG_PLUGINDIR or os.getenv("PROSODY_PLUGINDIR"); @@ -739,7 +740,7 @@ function cert_commands.import(arg) end local owner, group; if pposix.getuid() =3D=3D 0 then -- We need root to change ownership - owner =3D configmanager.get("*", "prosody_user") or "prosody"; + owner =3D configmanager.get("*", "prosody_user") or CFG_DAEMON_USER_GROU= P; group =3D configmanager.get("*", "prosody_group") or owner; end local cm =3D require "core.certmanager"; diff --git a/util/startup.lua b/util/startup.lua index 580410c9..dc5f0d3a 100644 --- a/util/startup.lua +++ b/util/startup.lua @@ -1,5 +1,5 @@ -- Ignore the CFG_* variables --- luacheck: ignore 113/CFG_CONFIGDIR 113/CFG_SOURCEDIR 113/CFG_DATADIR 11= 3/CFG_PLUGINDIR +-- luacheck: ignore 113/CFG_DAEMON_USER_GROUP 113/CFG_CONFIGDIR 113/CFG_SO= URCEDIR 113/CFG_DATADIR 113/CFG_PLUGINDIR local startup =3D {}; =20 local prosody =3D { events =3D require "util.events".new() }; @@ -416,7 +416,7 @@ function startup.switch_user() if arg_root then table.remove(arg, 1); end if prosody.current_uid =3D=3D 0 and config.get("*", "run_as_root") ~=3D = true and not arg_root then -- We haz root! - local desired_user =3D config.get("*", "prosody_user") or "prosody"; + local desired_user =3D config.get("*", "prosody_user") or CFG_DAEMON_US= ER_GROUP; local desired_group =3D config.get("*", "prosody_group") or desired_use= r; local ok, err =3D pposix.setgid(desired_group); if ok then --aVD9QWMuhilNxW9f Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE56JD3UKTLEu/ddrm9dQjyAYL01AFAl7BkdgACgkQ9dQjyAYL 01DNsxAAuu3r5feMTcM/juPGl/7IyrX+m3IW9yiLubT7a7NTHdVqJQ/GQwS6WLty mAeLJxgdYvVsk1MwdgOT5zCbSTfDAbRC/SG0m+rAQpn2SY4G6aacqQTJm/QdpY/4 NKJ0lgukihlHQ0/Su7ZIq0886D+2zdCYIe4xQE/UQxglyYJCAyWSePYy+ETjq2cg kVgXIpb2M/kv/Sek0Jr4DHukWwj54JXYQwuO54hm88WW4+qRdAFuH0J42RN163kg cQiOf11TgBtUJYu+IzOiBPmNty82AHLqufvSyNN/SS7DhUFrbZUFtmyV3JEy9zt6 LB31NL3/xl7adVZUUnOPlhbotrkmpXT6tZzehjPMNxFK0sEmTSpWNsu0QOEC1nHj 4MFSdE5PLzIKqCtroptkmDNcpfvkQ4Yx46KyqUe/pw9jmubaGfH1WOLvr7JsM1qa pDWN2VNoVneR1Y2ymksGJ+JAH7BUVqW6UqCuBbmkqJGL6ORgBY2UBrJ51kaoTGVx DYIdI4WfW739igv1RBoD2rvJsQO9ySYxjHSt+9HrscQop9tUipyyACaw05WcMt8q UHFMU4c/L8XdgX0rbJpyX6xRhbViFU2hm1uRV2fdiV8Gr/8uJJ/soLS7yRMHSPtY +ZtFNXsMmz4AxOxQSu0Mc1/sdQseI+n0pTL4T3KGDEKURDBAWV4= =k9DK -----END PGP SIGNATURE----- --aVD9QWMuhilNxW9f--