mirror of
https://github.com/ProtonMail/go-proton-api.git
synced 2025-12-23 23:57:50 -05:00
25 lines
311 B
Go
25 lines
311 B
Go
package backend
|
|
|
|
import (
|
|
_ "embed"
|
|
|
|
"github.com/ProtonMail/gopenpgp/v2/crypto"
|
|
)
|
|
|
|
var modulus string
|
|
|
|
func init() {
|
|
arm, err := crypto.NewClearTextMessage(asc, sig).GetArmored()
|
|
if err != nil {
|
|
panic(err)
|
|
}
|
|
|
|
modulus = arm
|
|
}
|
|
|
|
//go:embed modulus.asc
|
|
var asc []byte
|
|
|
|
//go:embed modulus.sig
|
|
var sig []byte
|