Coder Social home page Coder Social logo

cryptochan's People

Contributors

danhab99 avatar

cryptochan's Issues

demo broken?

can't post when trying to construct the json manually
this is what i tried:

{"author":{"name":"Jtaqu","publickey":"e0aaca02e9fdd424"},"body":{"content":"second","mimetype":"text/plain"},"category":"all","embeds":[],"hash":{"algorithm":"SHA-256","value":"e111f804ea2740211820d015f6a6a86a50508a28b38c968e72bb68839176de13"},"parenthash":"b804da0898e33399dd8cb15776a58c4626185c9b598ce56207e0577e68ce698d","published":"2021-06-28T16:45:21.480Z","signature":"-----BEGIN PGP SIGNATURE-----\n\niHUEABYIAB0WIQTsilfAn0jgQ7sIzP7gqsoC6f3UJAUCYNn8cAAKCRDgqsoC6f3U\nJASIAP0W4i7tZ6aB+fNl1HGsAnycAv1OaGsAfd1XACoVZOFoWgD7BjB2BnF8ZxOv\npsME384Dddc80xAsw4FbVy+I1OAsWAo=\n=srqP\n-----END PGP SIGNATURE-----\n"}

gave me an empty 401 json response
my first guess was that it's related to the hashing because while i can verify the signature of 4bxog in "all", i can't verify the hash
iiuc this should have resulted in "b804da0898e33399dd8cb15776a58c4626185c9b598ce56207e0577e68ce698d":

~> jq -c '.[] |del(.hash, .__v, .replies, .replyThreads, .approved)' < reply.json | json-stable-stringify | sha256sum
28719295c297db5f7a2004d861710fbba82b1d0434620ace2e8f64edc21854f9  -

i then proceeded to try to post via the form with both gnupg- and website-generated keys but neither worked, getting 401s and 404s

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.