Giter VIP home page Giter VIP logo

Comments (4)

martijndwars avatar martijndwars commented on September 12, 2024

Note the following sequence of events:

  1. The payload is encrypted on the server (by this library) and sent to the push service (e.g. Mozilla's Push Service).
  2. The push service delivers the encrypted payload to the browser.
  3. Pushed messages are authenticated and decrypted by the browser before delivery to applications [1]. The browser uses the private key to decrypt the message and invokes the JavaScript handler, passing it the decrypted message.

As such, there is no need to decrypt messages yourself.

from webpush-java.

abhisheksahani avatar abhisheksahani commented on September 12, 2024

that i know , in my use case i am not sending the push to chrome server (i am not hiting fcm api) , instead i am sending push to dummy server which is acting like chrome server now in that dummy server i want to decrypt the message .

from webpush-java.

martijndwars avatar martijndwars commented on September 12, 2024

Ah, I get your question. I'm sorry, but I have no experience on decrypting the message.

from webpush-java.

jedi7 avatar jedi7 commented on September 12, 2024

@abhisheksahani Did you found, how to decrypt it?

from webpush-java.

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.