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l
+s3LNsIUFGLVpLgnD6KY8C/5QXSMfL1muyF9yxiLtAoGBAOP56Z7HAbht1LD+i1zO
+zYZEQ7GMlKx5OXWn0cMAJBpOp9zbf2vZniDP4ZYp+87Um0dVBJhu1nEH1g8qgyts
+0MFmAJHMUp7YzsDTvKWeV26C/OsAGjElylBKdUgLpxBmIBTAIkzz7fREh0v55eYF
+CEWHE8CLYGuvOHrmSxbalgse
+-----END PRIVATE KEY-----
use JSON::MaybeXS;
use stemmaweb::Authentication::Credential::Google;
use Crypt::OpenSSL::RSA;
+use FindBin;
use IO::All;
-my $cert = io('/home/erryk/certonly.pem')->slurp;
-my $priv = io('/home/erryk/privkey')->slurp;
+my $cert = io("$FindBin::Bin/../etc/certonly.pem")->slurp;
+my $priv = io("$FindBin::Bin/../etc/privkey")->slurp;
my $hash = { 'a' => $cert };