Update SPIP 3.0.19 to Softaculous

Hi,

I am a developer at Softaculous and was under process of making the update package of SPIP. I have made the entire package but stuck at one point.

In the database can you please let me know :

In the table « _meta » ,

secret_du_site’, ‹ 5da94e40ed1f4834c72f2cf9ec9296dc2351632770f31f928a40a74115d39a45 ›

​how is this secret value generated. Once I have the details shall complete the package and launch it.

Awaiting your kind reply.​

Bonjour

Vous trouverez la reponse ici (au choix):

https://git.spip.net/diffusion/CSPIP/browse/master/ecrire/inc/securiser_action.php;9371c64514051e903c98b253a8e95520bae95df1$237

https://core.spip.net/projects/spip/repository/entry/spip/ecrire/inc/securiser_action.php#L237

Bonne journee

Hi,

Sorry for the delay in reply.

Thank you for pointing to the correct file. However, it seems that function secret_du_site() function uses other functions. I request you if you can give us a method/function which will call this function and generate the secret code for sql. I really appreciate your help.

Le 18/05/2015 12:35, Parin Kothari a écrit :

Thank you for pointing to the correct file. However, it seems that function secret_du_site() function uses other
functions. I request you if you can give us a method/function which will call this function and generate the secret code
for sql. I really appreciate your help.

Maybe does line 246 answer your question ?
JL

On Thu, May 14, 2015 at 9:04 AM, cam.lafit@azerttyu.net <mailto:cam.lafit@azerttyu.net> <cam.lafit@azerttyu.net
<mailto:cam.lafit@azerttyu.net>> wrote:

    Bonjour

    Vous trouverez la reponse ici (au choix):

    *Connexion · GitLab
    <https://github.com/spip/SPIP/blob/aa5afff0c92bf272726d8ec01a91e21952ecbb48/ecrire/inc/securiser_action.php#L237&gt;\*

    https://core.spip.net/projects/spip/repository/entry/spip/ecrire/inc/securiser_action.php#L237

    Bonne journee

    2015-05-13 12:10 GMT+02:00 Parin Kothari <parin@softaculous.com <mailto:parin@softaculous.com>>:

        Hi,

        I am a developer at Softaculous and was under process of making the update package of SPIP. I have made the
        entire package but stuck at one point.

        In the database can you please let me know :

        In the table "_meta" ,

        secret_du_site', '5da94e40ed1f4834c72f2cf9ec9296dc2351632770f31f928a40a74115d39a45'

        ​how is this secret value generated. Once I have the details shall complete the package and launch it.

        Awaiting your kind reply.​

        --
        ​
        Regards,
        Parin Kothari
        _*Softaculous Ltd <http://www.softaculous.com/&gt;
        *_

        For support contact us here <https://www.softaculous.com/support/&gt;
        ​Become our fan on Facebook <Redirecting...; and follow us on twitter
        <x.com

        _______________________________________________
        liste spip
        spip@rezo.net <mailto:spip@rezo.net> - désabonnement : envoyer un mail à spip-off@rezo.net
        <mailto:spip-off@rezo.net>

        Infos et archives : http://listes.rezo.net/mailman/listinfo/spip
        Discuter chez rezo.net

        Documentation de SPIP : http://www.spip.net/

        Irc : de l'aide à toute heure : http://spip.net/irc

    --
    ------------
    -----
    http://www.azerttyu.net (hébergement)
    http://km.azerttyu.net (blog)
    cam.lafit@azerttyu.net <mailto:cam.lafit@azerttyu.net>

--
​
Regards,
Parin Kothari
_*Softaculous Ltd <http://www.softaculous.com/&gt;
*_

For support contact us here <https://www.softaculous.com/support/&gt;
​Become our fan on Facebook <Redirecting...; and follow us on twitter
<x.com

Hi,

I think that you only have to generate a random sha256 hash, whatever the method you choose.

This hash will never be changed.

.Gilles

Hi,

Thank you for your revert. So can I keep the same code by default for all our users installations ? Or should I generate a random sha256 hash for every install ? If yes, can you please guide me as to how am I suppose to go about it. This is the only thing which is left and rest the other package is ready.

Hi,

does your package triggers an installation of SPIP (and especially the parameters of the webmaster), or does it installs a pre-configured version ?

In the second case, you should generate a random sha256 hash for every installation

Hi,
We will have to generate. Can you please guide me how to go about it since I am aware how it works in SPIP ?

Thank you for your help.

How do you generate the first user ids ?

Salut,

Voici une nouvelle opportunite pour faire de l’argent a peu de frais. Avec seulement 18$ d’investissement, la richesse te sourit. Pour vous inscrire, cliquer sur le lien suivant : https://www. fourcornersalliancegroup.com/? a=wiltou

Une fois inscrit, partager ton lien avec tes amis et connaissances pour faire fructifier tes 18$.

BONNE SOIREE

Hi,

We have managed to generate the secret code for database and is different to every user. We have launched the SPIP last evening itself.

Also I am getting few emails regarding some offers from :

bill@haitimonde.com in CC : spip@rezo.net

Is it from your side ? If yes, I request you to please disable it.

Thank you for your co-operation.

Hi

As you can read bill@haitimonde.com is not spip@rezo.net or any other mail in this discssion. It’s as we can said a spam, no more.

All meta are specifics to one site, then you must generate secret_du_site to each website, it’s a sha fingeprint based on $_SERVER data.

To follow function you can check on http://code.spip.net/autodoc/ and http://www.php.net

I don’t understand where is the complication on this function.

Km

Hi,

Thanks for the clarification. I asked since the email which I received had kept spip@rezo.net in CC. So I thought of asking you.

As far as secret code is concerned I had mentioned in my previous email, that I was able to retrieve it and thought of informing you as well.

To confirm I have marked that email as spam and SPIP 3.0.19 is already launched :
https://www.softaculous.com/apps/others/SPIP

Thank you for your co-operation.

Thank you !

Hi Gilles,

Always welcome.

Appreciate all your co-operation with us.