Giter Club home page Giter Club logo

Comments (4)

roehling avatar roehling commented on June 18, 2024

For the format of the secrets file, see the Configuration section in the README: It's a text file where each line is taken as secret key for the signature algorithm. The first line is used to sign and verify, the following lines for verification only (which can be used to transition to a new secret).

A simple way to find out which files are installed is make install DESTDIR=/tmp/postsrsd and then examine the files and folders below /tmp/postsrsd.

from postsrsd.

SimonHobson avatar SimonHobson commented on June 18, 2024

Thanks for that - certainly easier than manually figuring out what goes where.
Could I suggest some additions/changes to the docs ?
Yes, the readme file does say that the first line is used as a key - but gives no indication what should be in it - does length matter ? does character set matter ? I see from the makefile that you've taken 18 bytes from urandom and base64 encoded them. The purpose of additional lines (managing a key change) had eluded me.

from postsrsd.

roehling avatar roehling commented on June 18, 2024

The key is a free-form secret string. I take 18 bytes from urandom because I'm aiming for about 128 bits of entropy. The base64 encode ensures that the string ends up with printable characters only.

from postsrsd.

roehling avatar roehling commented on June 18, 2024

Closing this issue, since it seems to be stale. Feel free to reopen.

from postsrsd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.