changes to armor encoding

master
Matthew 2021-07-02 23:46:01 -04:00
parent 7d27a5f1ae
commit 5dc9b586b5
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,8 @@ type PGPKey struct {
func GetOpenPGPInformationEncoded(c *gin.Context) {
query := c.Copy().Request.Body
body, _ := ioutil.ReadAll(query)
query2 := c.Copy().Request.Body
body, _ := ioutil.ReadAll(query2)
block, err := armor.Decode(query)
if err != nil {