changes to armor encoding
parent
7d27a5f1ae
commit
5dc9b586b5
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue