diff --git a/.github/workflows/flatbuffers.yml b/.github/workflows/flatbuffers.yml index ca9533c..9477452 100644 --- a/.github/workflows/flatbuffers.yml +++ b/.github/workflows/flatbuffers.yml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - language: [ dart, go, js, ts, java, kotlin, swift ] + language: [ dart, go, ts, java, kotlin, swift ] fail-fast: false steps: - uses: actions/checkout@v2 diff --git a/Makefile.flatbuffers b/Makefile.flatbuffers index c2e3339..aa9c06e 100644 --- a/Makefile.flatbuffers +++ b/Makefile.flatbuffers @@ -3,7 +3,7 @@ flatbuffers: flatbuffers_dart flatbuffers_go flatbuffers_js flatbuffers_deps: cd /tmp && \ - git clone https://github.com/google/flatbuffers.git -b v1.12.0 && \ + git clone https://github.com/google/flatbuffers.git -b master && \ cd flatbuffers && \ cmake -G "Unix Makefiles" && \ make && \ diff --git a/bridge/model/BoolResponse.go b/bridge/model/BoolResponse.go index 117469a..b56ebd4 100644 --- a/bridge/model/BoolResponse.go +++ b/bridge/model/BoolResponse.go @@ -17,6 +17,13 @@ func GetRootAsBoolResponse(buf []byte, offset flatbuffers.UOffsetT) *BoolRespons return x } +func GetSizePrefixedRootAsBoolResponse(buf []byte, offset flatbuffers.UOffsetT) *BoolResponse { + n := flatbuffers.GetUOffsetT(buf[offset+flatbuffers.SizeUint32:]) + x := &BoolResponse{} + x.Init(buf, n+offset+flatbuffers.SizeUint32) + return x +} + func (rcv *BoolResponse) Init(buf []byte, i flatbuffers.UOffsetT) { rcv._tab.Bytes = buf rcv._tab.Pos = i diff --git a/bridge/model/BytesResponse.go b/bridge/model/BytesResponse.go index aba0a6f..c28c250 100644 --- a/bridge/model/BytesResponse.go +++ b/bridge/model/BytesResponse.go @@ -17,6 +17,13 @@ func GetRootAsBytesResponse(buf []byte, offset flatbuffers.UOffsetT) *BytesRespo return x } +func GetSizePrefixedRootAsBytesResponse(buf []byte, offset flatbuffers.UOffsetT) *BytesResponse { + n := flatbuffers.GetUOffsetT(buf[offset+flatbuffers.SizeUint32:]) + x := &BytesResponse{} + x.Init(buf, n+offset+flatbuffers.SizeUint32) + return x +} + func (rcv *BytesResponse) Init(buf []byte, i flatbuffers.UOffsetT) { rcv._tab.Bytes = buf rcv._tab.Pos = i diff --git a/bridge/model/DecryptBytesRequest.go b/bridge/model/DecryptBytesRequest.go index 1040077..5662b66 100644 --- a/bridge/model/DecryptBytesRequest.go +++ b/bridge/model/DecryptBytesRequest.go @@ -17,6 +17,13 @@ func GetRootAsDecryptBytesRequest(buf []byte, offset flatbuffers.UOffsetT) *Decr return x } +func GetSizePrefixedRootAsDecryptBytesRequest(buf []byte, offset flatbuffers.UOffsetT) *DecryptBytesRequest { + n := flatbuffers.GetUOffsetT(buf[offset+flatbuffers.SizeUint32:]) + x := &DecryptBytesRequest{} + x.Init(buf, n+offset+flatbuffers.SizeUint32) + return x +} + func (rcv *DecryptBytesRequest) Init(buf []byte, i flatbuffers.UOffsetT) { rcv._tab.Bytes = buf rcv._tab.Pos = i diff --git a/bridge/model/DecryptRequest.go b/bridge/model/DecryptRequest.go index 3dae598..0d76869 100644 --- a/bridge/model/DecryptRequest.go +++ b/bridge/model/DecryptRequest.go @@ -17,6 +17,13 @@ func GetRootAsDecryptRequest(buf []byte, offset flatbuffers.UOffsetT) *DecryptRe return x } +func GetSizePrefixedRootAsDecryptRequest(buf []byte, offset flatbuffers.UOffsetT) *DecryptRequest { + n := flatbuffers.GetUOffsetT(buf[offset+flatbuffers.SizeUint32:]) + x := &DecryptRequest{} + x.Init(buf, n+offset+flatbuffers.SizeUint32) + return x +} + func (rcv *DecryptRequest) Init(buf []byte, i flatbuffers.UOffsetT) { rcv._tab.Bytes = buf rcv._tab.Pos = i diff --git a/bridge/model/DecryptSymmetricBytesRequest.go b/bridge/model/DecryptSymmetricBytesRequest.go index d576ecf..768219f 100644 --- a/bridge/model/DecryptSymmetricBytesRequest.go +++ b/bridge/model/DecryptSymmetricBytesRequest.go @@ -17,6 +17,13 @@ func GetRootAsDecryptSymmetricBytesRequest(buf []byte, offset flatbuffers.UOffse return x } +func GetSizePrefixedRootAsDecryptSymmetricBytesRequest(buf []byte, offset flatbuffers.UOffsetT) *DecryptSymmetricBytesRequest { + n := flatbuffers.GetUOffsetT(buf[offset+flatbuffers.SizeUint32:]) + x := &DecryptSymmetricBytesRequest{} + x.Init(buf, n+offset+flatbuffers.SizeUint32) + return x +} + func (rcv *DecryptSymmetricBytesRequest) Init(buf []byte, i flatbuffers.UOffsetT) { rcv._tab.Bytes = buf rcv._tab.Pos = i diff --git a/bridge/model/DecryptSymmetricRequest.go b/bridge/model/DecryptSymmetricRequest.go index 72f8805..1668c00 100644 --- a/bridge/model/DecryptSymmetricRequest.go +++ b/bridge/model/DecryptSymmetricRequest.go @@ -17,6 +17,13 @@ func GetRootAsDecryptSymmetricRequest(buf []byte, offset flatbuffers.UOffsetT) * return x } +func GetSizePrefixedRootAsDecryptSymmetricRequest(buf []byte, offset flatbuffers.UOffsetT) *DecryptSymmetricRequest { + n := flatbuffers.GetUOffsetT(buf[offset+flatbuffers.SizeUint32:]) + x := &DecryptSymmetricRequest{} + x.Init(buf, n+offset+flatbuffers.SizeUint32) + return x +} + func (rcv *DecryptSymmetricRequest) Init(buf []byte, i flatbuffers.UOffsetT) { rcv._tab.Bytes = buf rcv._tab.Pos = i diff --git a/bridge/model/EncryptBytesRequest.go b/bridge/model/EncryptBytesRequest.go index 43c83fc..aeb73df 100644 --- a/bridge/model/EncryptBytesRequest.go +++ b/bridge/model/EncryptBytesRequest.go @@ -17,6 +17,13 @@ func GetRootAsEncryptBytesRequest(buf []byte, offset flatbuffers.UOffsetT) *Encr return x } +func GetSizePrefixedRootAsEncryptBytesRequest(buf []byte, offset flatbuffers.UOffsetT) *EncryptBytesRequest { + n := flatbuffers.GetUOffsetT(buf[offset+flatbuffers.SizeUint32:]) + x := &EncryptBytesRequest{} + x.Init(buf, n+offset+flatbuffers.SizeUint32) + return x +} + func (rcv *EncryptBytesRequest) Init(buf []byte, i flatbuffers.UOffsetT) { rcv._tab.Bytes = buf rcv._tab.Pos = i diff --git a/bridge/model/EncryptRequest.go b/bridge/model/EncryptRequest.go index 8c5f267..679bf67 100644 --- a/bridge/model/EncryptRequest.go +++ b/bridge/model/EncryptRequest.go @@ -17,6 +17,13 @@ func GetRootAsEncryptRequest(buf []byte, offset flatbuffers.UOffsetT) *EncryptRe return x } +func GetSizePrefixedRootAsEncryptRequest(buf []byte, offset flatbuffers.UOffsetT) *EncryptRequest { + n := flatbuffers.GetUOffsetT(buf[offset+flatbuffers.SizeUint32:]) + x := &EncryptRequest{} + x.Init(buf, n+offset+flatbuffers.SizeUint32) + return x +} + func (rcv *EncryptRequest) Init(buf []byte, i flatbuffers.UOffsetT) { rcv._tab.Bytes = buf rcv._tab.Pos = i diff --git a/bridge/model/EncryptSymmetricBytesRequest.go b/bridge/model/EncryptSymmetricBytesRequest.go index 8398eb2..6e446c1 100644 --- a/bridge/model/EncryptSymmetricBytesRequest.go +++ b/bridge/model/EncryptSymmetricBytesRequest.go @@ -17,6 +17,13 @@ func GetRootAsEncryptSymmetricBytesRequest(buf []byte, offset flatbuffers.UOffse return x } +func GetSizePrefixedRootAsEncryptSymmetricBytesRequest(buf []byte, offset flatbuffers.UOffsetT) *EncryptSymmetricBytesRequest { + n := flatbuffers.GetUOffsetT(buf[offset+flatbuffers.SizeUint32:]) + x := &EncryptSymmetricBytesRequest{} + x.Init(buf, n+offset+flatbuffers.SizeUint32) + return x +} + func (rcv *EncryptSymmetricBytesRequest) Init(buf []byte, i flatbuffers.UOffsetT) { rcv._tab.Bytes = buf rcv._tab.Pos = i diff --git a/bridge/model/EncryptSymmetricRequest.go b/bridge/model/EncryptSymmetricRequest.go index 402a942..198d8b0 100644 --- a/bridge/model/EncryptSymmetricRequest.go +++ b/bridge/model/EncryptSymmetricRequest.go @@ -17,6 +17,13 @@ func GetRootAsEncryptSymmetricRequest(buf []byte, offset flatbuffers.UOffsetT) * return x } +func GetSizePrefixedRootAsEncryptSymmetricRequest(buf []byte, offset flatbuffers.UOffsetT) *EncryptSymmetricRequest { + n := flatbuffers.GetUOffsetT(buf[offset+flatbuffers.SizeUint32:]) + x := &EncryptSymmetricRequest{} + x.Init(buf, n+offset+flatbuffers.SizeUint32) + return x +} + func (rcv *EncryptSymmetricRequest) Init(buf []byte, i flatbuffers.UOffsetT) { rcv._tab.Bytes = buf rcv._tab.Pos = i diff --git a/bridge/model/Entity.go b/bridge/model/Entity.go index 45b9f09..8fba176 100644 --- a/bridge/model/Entity.go +++ b/bridge/model/Entity.go @@ -20,6 +20,13 @@ func GetRootAsEntity(buf []byte, offset flatbuffers.UOffsetT) *Entity { return x } +func GetSizePrefixedRootAsEntity(buf []byte, offset flatbuffers.UOffsetT) *Entity { + n := flatbuffers.GetUOffsetT(buf[offset+flatbuffers.SizeUint32:]) + x := &Entity{} + x.Init(buf, n+offset+flatbuffers.SizeUint32) + return x +} + func (rcv *Entity) Init(buf []byte, i flatbuffers.UOffsetT) { rcv._tab.Bytes = buf rcv._tab.Pos = i diff --git a/bridge/model/FileHints.go b/bridge/model/FileHints.go index eeeb206..bce6add 100644 --- a/bridge/model/FileHints.go +++ b/bridge/model/FileHints.go @@ -17,6 +17,13 @@ func GetRootAsFileHints(buf []byte, offset flatbuffers.UOffsetT) *FileHints { return x } +func GetSizePrefixedRootAsFileHints(buf []byte, offset flatbuffers.UOffsetT) *FileHints { + n := flatbuffers.GetUOffsetT(buf[offset+flatbuffers.SizeUint32:]) + x := &FileHints{} + x.Init(buf, n+offset+flatbuffers.SizeUint32) + return x +} + func (rcv *FileHints) Init(buf []byte, i flatbuffers.UOffsetT) { rcv._tab.Bytes = buf rcv._tab.Pos = i diff --git a/bridge/model/GenerateRequest.go b/bridge/model/GenerateRequest.go index 2e937a6..b32b325 100644 --- a/bridge/model/GenerateRequest.go +++ b/bridge/model/GenerateRequest.go @@ -17,6 +17,13 @@ func GetRootAsGenerateRequest(buf []byte, offset flatbuffers.UOffsetT) *Generate return x } +func GetSizePrefixedRootAsGenerateRequest(buf []byte, offset flatbuffers.UOffsetT) *GenerateRequest { + n := flatbuffers.GetUOffsetT(buf[offset+flatbuffers.SizeUint32:]) + x := &GenerateRequest{} + x.Init(buf, n+offset+flatbuffers.SizeUint32) + return x +} + func (rcv *GenerateRequest) Init(buf []byte, i flatbuffers.UOffsetT) { rcv._tab.Bytes = buf rcv._tab.Pos = i diff --git a/bridge/model/KeyOptions.go b/bridge/model/KeyOptions.go index 2767304..0e53f37 100644 --- a/bridge/model/KeyOptions.go +++ b/bridge/model/KeyOptions.go @@ -18,6 +18,13 @@ func GetRootAsKeyOptions(buf []byte, offset flatbuffers.UOffsetT) *KeyOptions { return x } +func GetSizePrefixedRootAsKeyOptions(buf []byte, offset flatbuffers.UOffsetT) *KeyOptions { + n := flatbuffers.GetUOffsetT(buf[offset+flatbuffers.SizeUint32:]) + x := &KeyOptions{} + x.Init(buf, n+offset+flatbuffers.SizeUint32) + return x +} + func (rcv *KeyOptions) Init(buf []byte, i flatbuffers.UOffsetT) { rcv._tab.Bytes = buf rcv._tab.Pos = i diff --git a/bridge/model/KeyPair.go b/bridge/model/KeyPair.go index d1cfe9c..c80f7f5 100644 --- a/bridge/model/KeyPair.go +++ b/bridge/model/KeyPair.go @@ -17,6 +17,13 @@ func GetRootAsKeyPair(buf []byte, offset flatbuffers.UOffsetT) *KeyPair { return x } +func GetSizePrefixedRootAsKeyPair(buf []byte, offset flatbuffers.UOffsetT) *KeyPair { + n := flatbuffers.GetUOffsetT(buf[offset+flatbuffers.SizeUint32:]) + x := &KeyPair{} + x.Init(buf, n+offset+flatbuffers.SizeUint32) + return x +} + func (rcv *KeyPair) Init(buf []byte, i flatbuffers.UOffsetT) { rcv._tab.Bytes = buf rcv._tab.Pos = i diff --git a/bridge/model/KeyPairResponse.go b/bridge/model/KeyPairResponse.go index 379dcf1..500748a 100644 --- a/bridge/model/KeyPairResponse.go +++ b/bridge/model/KeyPairResponse.go @@ -17,6 +17,13 @@ func GetRootAsKeyPairResponse(buf []byte, offset flatbuffers.UOffsetT) *KeyPairR return x } +func GetSizePrefixedRootAsKeyPairResponse(buf []byte, offset flatbuffers.UOffsetT) *KeyPairResponse { + n := flatbuffers.GetUOffsetT(buf[offset+flatbuffers.SizeUint32:]) + x := &KeyPairResponse{} + x.Init(buf, n+offset+flatbuffers.SizeUint32) + return x +} + func (rcv *KeyPairResponse) Init(buf []byte, i flatbuffers.UOffsetT) { rcv._tab.Bytes = buf rcv._tab.Pos = i diff --git a/bridge/model/Options.go b/bridge/model/Options.go index d86b561..34dd932 100644 --- a/bridge/model/Options.go +++ b/bridge/model/Options.go @@ -17,6 +17,13 @@ func GetRootAsOptions(buf []byte, offset flatbuffers.UOffsetT) *Options { return x } +func GetSizePrefixedRootAsOptions(buf []byte, offset flatbuffers.UOffsetT) *Options { + n := flatbuffers.GetUOffsetT(buf[offset+flatbuffers.SizeUint32:]) + x := &Options{} + x.Init(buf, n+offset+flatbuffers.SizeUint32) + return x +} + func (rcv *Options) Init(buf []byte, i flatbuffers.UOffsetT) { rcv._tab.Bytes = buf rcv._tab.Pos = i diff --git a/bridge/model/PrivateKeyMetadata.go b/bridge/model/PrivateKeyMetadata.go index 250cb11..eac6fd4 100644 --- a/bridge/model/PrivateKeyMetadata.go +++ b/bridge/model/PrivateKeyMetadata.go @@ -17,6 +17,13 @@ func GetRootAsPrivateKeyMetadata(buf []byte, offset flatbuffers.UOffsetT) *Priva return x } +func GetSizePrefixedRootAsPrivateKeyMetadata(buf []byte, offset flatbuffers.UOffsetT) *PrivateKeyMetadata { + n := flatbuffers.GetUOffsetT(buf[offset+flatbuffers.SizeUint32:]) + x := &PrivateKeyMetadata{} + x.Init(buf, n+offset+flatbuffers.SizeUint32) + return x +} + func (rcv *PrivateKeyMetadata) Init(buf []byte, i flatbuffers.UOffsetT) { rcv._tab.Bytes = buf rcv._tab.Pos = i diff --git a/bridge/model/PublicKeyMetadata.go b/bridge/model/PublicKeyMetadata.go index 431dd51..e09807d 100644 --- a/bridge/model/PublicKeyMetadata.go +++ b/bridge/model/PublicKeyMetadata.go @@ -17,6 +17,13 @@ func GetRootAsPublicKeyMetadata(buf []byte, offset flatbuffers.UOffsetT) *Public return x } +func GetSizePrefixedRootAsPublicKeyMetadata(buf []byte, offset flatbuffers.UOffsetT) *PublicKeyMetadata { + n := flatbuffers.GetUOffsetT(buf[offset+flatbuffers.SizeUint32:]) + x := &PublicKeyMetadata{} + x.Init(buf, n+offset+flatbuffers.SizeUint32) + return x +} + func (rcv *PublicKeyMetadata) Init(buf []byte, i flatbuffers.UOffsetT) { rcv._tab.Bytes = buf rcv._tab.Pos = i diff --git a/bridge/model/SignBytesRequest.go b/bridge/model/SignBytesRequest.go index a7575c4..1d2878d 100644 --- a/bridge/model/SignBytesRequest.go +++ b/bridge/model/SignBytesRequest.go @@ -17,6 +17,13 @@ func GetRootAsSignBytesRequest(buf []byte, offset flatbuffers.UOffsetT) *SignByt return x } +func GetSizePrefixedRootAsSignBytesRequest(buf []byte, offset flatbuffers.UOffsetT) *SignBytesRequest { + n := flatbuffers.GetUOffsetT(buf[offset+flatbuffers.SizeUint32:]) + x := &SignBytesRequest{} + x.Init(buf, n+offset+flatbuffers.SizeUint32) + return x +} + func (rcv *SignBytesRequest) Init(buf []byte, i flatbuffers.UOffsetT) { rcv._tab.Bytes = buf rcv._tab.Pos = i diff --git a/bridge/model/SignRequest.go b/bridge/model/SignRequest.go index 253438c..85889be 100644 --- a/bridge/model/SignRequest.go +++ b/bridge/model/SignRequest.go @@ -17,6 +17,13 @@ func GetRootAsSignRequest(buf []byte, offset flatbuffers.UOffsetT) *SignRequest return x } +func GetSizePrefixedRootAsSignRequest(buf []byte, offset flatbuffers.UOffsetT) *SignRequest { + n := flatbuffers.GetUOffsetT(buf[offset+flatbuffers.SizeUint32:]) + x := &SignRequest{} + x.Init(buf, n+offset+flatbuffers.SizeUint32) + return x +} + func (rcv *SignRequest) Init(buf []byte, i flatbuffers.UOffsetT) { rcv._tab.Bytes = buf rcv._tab.Pos = i diff --git a/bridge/model/StringResponse.go b/bridge/model/StringResponse.go index 7053bdf..711145e 100644 --- a/bridge/model/StringResponse.go +++ b/bridge/model/StringResponse.go @@ -17,6 +17,13 @@ func GetRootAsStringResponse(buf []byte, offset flatbuffers.UOffsetT) *StringRes return x } +func GetSizePrefixedRootAsStringResponse(buf []byte, offset flatbuffers.UOffsetT) *StringResponse { + n := flatbuffers.GetUOffsetT(buf[offset+flatbuffers.SizeUint32:]) + x := &StringResponse{} + x.Init(buf, n+offset+flatbuffers.SizeUint32) + return x +} + func (rcv *StringResponse) Init(buf []byte, i flatbuffers.UOffsetT) { rcv._tab.Bytes = buf rcv._tab.Pos = i diff --git a/bridge/model/VerifyBytesRequest.go b/bridge/model/VerifyBytesRequest.go index 7544947..58a7d00 100644 --- a/bridge/model/VerifyBytesRequest.go +++ b/bridge/model/VerifyBytesRequest.go @@ -17,6 +17,13 @@ func GetRootAsVerifyBytesRequest(buf []byte, offset flatbuffers.UOffsetT) *Verif return x } +func GetSizePrefixedRootAsVerifyBytesRequest(buf []byte, offset flatbuffers.UOffsetT) *VerifyBytesRequest { + n := flatbuffers.GetUOffsetT(buf[offset+flatbuffers.SizeUint32:]) + x := &VerifyBytesRequest{} + x.Init(buf, n+offset+flatbuffers.SizeUint32) + return x +} + func (rcv *VerifyBytesRequest) Init(buf []byte, i flatbuffers.UOffsetT) { rcv._tab.Bytes = buf rcv._tab.Pos = i diff --git a/bridge/model/VerifyRequest.go b/bridge/model/VerifyRequest.go index 3f77972..79baac7 100644 --- a/bridge/model/VerifyRequest.go +++ b/bridge/model/VerifyRequest.go @@ -17,6 +17,13 @@ func GetRootAsVerifyRequest(buf []byte, offset flatbuffers.UOffsetT) *VerifyRequ return x } +func GetSizePrefixedRootAsVerifyRequest(buf []byte, offset flatbuffers.UOffsetT) *VerifyRequest { + n := flatbuffers.GetUOffsetT(buf[offset+flatbuffers.SizeUint32:]) + x := &VerifyRequest{} + x.Init(buf, n+offset+flatbuffers.SizeUint32) + return x +} + func (rcv *VerifyRequest) Init(buf []byte, i flatbuffers.UOffsetT) { rcv._tab.Bytes = buf rcv._tab.Pos = i diff --git a/openpgp/encrypt_test.go b/openpgp/encrypt_test.go index af8e323..a9444d1 100644 --- a/openpgp/encrypt_test.go +++ b/openpgp/encrypt_test.go @@ -94,39 +94,39 @@ Ghg20bINJqZcdPcOssTj//naTA== -----END PGP PUBLIC KEY BLOCK----- ` /* - privateKey := `-----BEGIN PGP PRIVATE KEY BLOCK----- -Version: Keybase OpenPGP v1.0.0 -Comment: https://keybase.io/crypto - -xcASBGBhQ1cTBSuBBAAiAwMEv01b83eQtMX/12VHiFnUdQXHdyyqWceGm9Z9C4wj -TXiiB7n92NwegKyJZj5asuJDjJ68YlhHPIPa5/ev8F2NQirOcLAE7ux5GurOXR/z -KtmqqadCDLA6sB9WbBuISqzP/gkDCDUJKj8fsLjGYD9kjMdcdzhhv8TkRwHf4s7g -OzmfqZ0VTRAhMw9If6+/1Qn677rR7EtjrvhR5BO0aZ3v4f/maUS9wQTCkLs2hWIY -EAbm0vWIbgoC09UEv6bXDS/hpmuWzSNzYW1wbGUgKHNhbXBsZSkgPHNhbXBsZUBz -YW1wbGUuY29tPsKPBBMTCgAXBQJgYUNXAhsvAwsJBwMVCggCHgECF4AACgkQ+I5E -NikU3X3GlAGAgKJ4kwVF1b8KWzDNP4ygx7XTAeBiHwoPkj4BX/6DDIZsTw5Qhbhi -XGG5sJO032lwAYC1GvhyXT+qvp6Nypc5COsaLYEpXy1Vooto+LxHtHd6961EGRFT -Dy9pMi2h8LZOekfHpQRgYUNXEwgqhkjOPQMBBwIDBE/86NAlhPQvxeGvVSCHVe/V -tLFq3YDqj/Wxh7apTDPrXUNlf5usSEfsCi4wZPBXrOnIjhFpAuIvPdymoHBmMXD+ -CQMIurU/ReZ/jaxgl5Qthni8WNYL2JBTlfjuljdx3kw0AfKuk59fgzsTgcN/Mxzv -nWUchith2TaeddwkgaoW/6cYFv/Rq3IxnxM9FmSZkxMF4MLAJwQYEwoADwUCYGFD -VwUJDwmcAAIbLgBqCRD4jkQ2KRTdfV8gBBkTCgAGBQJgYUNXAAoJEHuSl/tfe3e2 -3UYBAIUdoSkAg35XLvGkaQqHgUnbdAgPOulbDIkqsxfNFqe+AQDY3fEJ+o29ulyP -TXWA1UUYdWHKfDh8AaPFKp3yjH1zsGmLAYDmzRgm47xTrgzpCURy1+jcqVoYrnzL -y7ARD0PKZaE+CCdYkcsFdoQI3lBt+y2AqE8BgOicquBgyHO1NYPEFCb1FWGkFvH6 -Nt1z0jfjOy4EGA5gqHqG38P2GBMtPdm7hqP0C8elBGBhQ1cTCCqGSM49AwEHAgME -899ZH5qsaljjfykfYwIdSW9kMIs/6DdJBk+SPBKPU2NlstdNMpPD2biQL4a5HvSq -NrRuXZq1gKggWT0fr2NPEf4JAwjglKsoVF6O52CDKflcvctdbV8TqmNwLnV7+e4N -pzth8r3YIJMbc43l9PXZbEB+7VVg2MEYGo46Fz7lmPOJT2hwy7FXGIzrw76Hm/+j -A8mPwsAnBBgTCgAPBQJgYUNXBQkPCZwAAhsuAGoJEPiORDYpFN19XyAEGRMKAAYF -AmBhQ1cACgkQIP2+MZMnlZND/QEAgdG0qayLgXHoXVCVvo0bL85yeGIzgMuesK7G -eGr8VO4A/2zeCIEU38KRFUg/+sWkpUZNlYOJmiQdv8CAx8/Q5N3uJc4BgPyFsi1y -TB70OIfzc2xj8DFjGs8EgTnhzf70WF/3P+lsOY6SZVojoHLkt+gvQBZyMwGA652q -a+4b4Mkwacntbf9Cdi2IpeOd3ZinjmSG+1EaGDbRsg0mplx09w6yxOP/+dpM -=i/4D ------END PGP PRIVATE KEY BLOCK----- -` -*/ + privateKey := `-----BEGIN PGP PRIVATE KEY BLOCK----- + Version: Keybase OpenPGP v1.0.0 + Comment: https://keybase.io/crypto + + xcASBGBhQ1cTBSuBBAAiAwMEv01b83eQtMX/12VHiFnUdQXHdyyqWceGm9Z9C4wj + TXiiB7n92NwegKyJZj5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