Omega

Description

a RSA signing server model, allows to create valid signed certificates that cant be modified

Requirements

  • MySQL Server
  • GoLang 1.17

Installing

Windows & Linux

git clone https://github.com/CycloneOrg/Omega && cd Omega/cmd/exec/ && go get
go run main.go

Setupping Database

CREATE DATABASE db_name;

configure dsn in pkg/database/database.go

Api Routes

/api/encrypt [POST]
/api/decrypt [POST]
/api/validate [POST]

Request Examples

[POST] /api/encrypt

{
  "Timestamp":"1636393462",
  "Title":"Omega",
  "Author":"CycloneOrg",
  "Message":"Important Certificate Message",
  "Expiry":"15-12-2021"
}

[POST] /api/validate & [POST] /api/decrypt
( this is /api/encrypt response, aka the whole certificate )

{
    "Header": "sZUutauTi+JLlK5kAucC/QO6UjUlfRy1LcVkkkODPZTu3vwLNMOXmuMaZV+Ki0nSZeus+VjgFjP7EutKtEKiuJzC35HZLrgG+SJoPHcsyPL55J3T10+t+9xb1igBSOAt6moiDQZS+BWcOMhHS/tTjJW9Dm7zgTbdcZoR7OEeXwhHxVSBx1tIl7JeysIAZUQL2tMqJL0h9X2wt5FtQzavSivm2i/1xsGvucwb8cKBqjRLjF9cOhS1qVsG/aHgKCIyPfsEYh8k3r7Q4LatVuB/rz/kPktY+YGv3M/UeN1J66y1NGlkMZhLIFwx8bWrkUAnl8+yA2MTnPDWTe6EZj/LTw==",
    "Integrity": "eyJQdWJsaWNLZXkiOnsiTiI6MjQyNzIxODgyNjU0NTEyMDI4NDY2OTM2NzgzODg5ODIwODY3Mzg4NzQ1ODgwODczOTc1NTIyODQ1NjAyMTE5NjQ5MzE2MjcxMDg5Mjc2ODg3NDIyMTA0NDc0MDg1NDE5NDQzODY1NTc0MDY3NTc5NjM3NzI1NTgyMjM2ODYwMzUyODkyNjgxNzMyNzcwMTcyNDg1MTM0MDk2MTM5ODA5MzIxMjYyMjQwNTE3MzM4MjQxNDAyNTM0NDI5MjcyNTIxMTEwMDIxMjU3NDUzNjc1NDUwOTQ4NjMzNTYzNDcxNzYyNjU3MzEwOTEzMTU0Mjk0MjA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