Giter VIP home page Giter VIP logo

gatelink's Introduction

gatelink

WebPush Gateway (powered by quarkus)

The gatelink service implements:

Push Notification Overview

quickstart

gatelink server build & start:

cd gatelink
mvn package
java -jar target/gatelink-[VERSION]-runner.jar 

alternative / development mode:

cd gatelink
mvn compile quarkus:dev

gatelink docker build

mvn package
docker build -f src/main/docker/Dockerfile.jvm -t quarkus/gatelink-jvm .
docker run -i --rm -p 8080:8080 quarkus/gatelink-jvm

test ui start

Install browsersync

cd webpush-ui
./startBrowserSync.sh

webpush-ui sample application

The user interface uses

  1. Notification API to display the badges
  2. Push API to receive the messages and send a subscription to the server.
  3. Service Workers API to listen for changes in the background
  4. Custom Elements for structuring the application
  5. Fetch API to send the subscription to the server or to unsubscribe.

gatelink's People

Contributors

adambien avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gatelink's Issues

Base64 has weakness

Greetings,

We are researchers and we are looking for insecure coding patterns and configurations in the microservice architecture repositories. In your repository, we have found instances of BASE64 usage. CWE says "A programmer can attempt to remedy the password management problem by obscuring the password with an encoding function, such as base 64 encoding, but this effort does not adequately protect the password."

Hopefully, you agree and will fix it.

Source:

byte[] decoded = Base64.getDecoder().decode(first);

and
return Base64.getUrlEncoder().encodeToString(encoded);

and
byte[] decodedPrivateKey = Base64.getUrlDecoder().decode(encodedPrivateKey);

and
return Base64.getUrlEncoder().withoutPadding().encodeToString(getPrivateKeyAsBytes());

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.