
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
github.com/skiphead/web-token-server
This is a simple microservice for generating tokens and checking their validity.
Edited config file ./config/server.json
(listen port, expired live token (sec), TLS on/off, pki cert and key files )
go build ./cmd/main.go
main(windows main.exe) --config-path="/path-config/server.json"
default settings http://127.0.0.1:8080, expireted live after 600 sec
Documentation http://localhost:8080/docs
Request POST: /new
{ "name": string }
Response POST:
{ "token": string }
Request POST: /check
{ "token": string }
Response POST:
{ "valid": bool }
Request POST: /info
{ "token": string }
Response POST:
{ "token": string, "name": string }
docker pull skiphead/web-token-server:latest
Stable work on GoLang 1.8.3
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.