nooize / paytokens

package for decrypt Google Pay and Apple Pay tokens
MIT License
11 stars 1 forks source link

When tried to use ApplePay OpenSSL error occured #2

Open kgiedrius opened 11 months ago

kgiedrius commented 11 months ago

GOROOT=/opt/homebrew/Cellar/go/1.20.5/libexec #gosetup GOPATH=/Users/kgiedrius/go #gosetup /opt/homebrew/Cellar/go/1.20.5/libexec/bin/go build -o /private/var/folders/8v/mlqncr5x4ms4dc1870n50zsr0000gn/T/GoLand/___go_build_merchantapi_cmd_api merchantapi/cmd/api #gosetup

github.com/nooize/paytokens/sslapi

../../../../go/pkg/mod/github.com/nooize/paytokens@v1.1.2/sslapi/bio.go:10:10: fatal error: 'openssl/x509v3.h' file not found

include <openssl/x509v3.h>

     ^~~~~~~~~~~~~~~~~~

1 error generated.

nooize commented 11 months ago

Apple Pay token decryption depends on native libssl you need to install it before use this package.

You may need to configure env variable PKG_CONFIG_PATH to include OpenSSL.