<commit_before>// Code generated by protoc-gen-go.
// source: safedump.proto
// DO NOT EDIT!

/*
Package safedump is a generated protocol buffer package.

It is generated from these files:
	safedump.proto

It has these top-level messages:
	GetPublicCertRequest
	GetPublicCertResponse
	DecryptSecretRequest
	DecryptSecretResponse
	EncryptedHeader
	ServerConfig
	ClientConfig
*/
package safedump

import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"

import (
	context "golang.org/x/net/context"
	grpc "google.golang.org/grpc"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package

type GetPublicCertRequest struct {
}

func (m *GetPublicCertRequest) Reset()                    { *m = GetPublicCertRequest{} }
func (m *GetPublicCertRequest) String() string            { return proto.CompactTextString(m) }
func (*GetPublicCertRequest) ProtoMessage()               {}
func (*GetPublicCertRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }

type GetPublicCertResponse struct {
	Der []byte `protobuf:"bytes,1,opt,name=der,proto3" json:"der,omitempty"`
}

func (m *GetPublicCertResponse) Reset()                    { *m = GetPublicCertResponse{} }
func (m *GetPublicCertResponse) String() string            { return proto.CompactTextString(m) }
func (*GetPublicCertResponse) ProtoMessage()               {}
func (*GetPublicCertResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }

type DecryptSecretRequest struct {
	Header *EncryptedHeader `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"`
}

func (m *DecryptSecretRequest) Reset()                    { *m = DecryptSecretRequest{} }
func (m *DecryptSecretRequest) String() string            { return proto.CompactTextString(m) }
func (*DecryptSecretRequest) ProtoMessage()               {}
func (*DecryptSecretRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }

func (m *DecryptSecretRequest) GetHeader() *EncryptedHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

type DecryptSecretResponse struct {
	Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
}

func (m *DecryptSecretResponse) Reset()                    { *m = DecryptSecretResponse{} }
func (m *DecryptSecretResponse) String() string            { return proto.CompactTextString(m) }
func (*DecryptSecretResponse) ProtoMessage()               {}
func (*DecryptSecretResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }

type EncryptedHeader struct {
	SpkiFingerprint []byte `protobuf:"bytes,1,opt,name=spki_fingerprint,json=spkiFingerprint,proto3" json:"spki_fingerprint,omitempty"`
	Ttl             int64  `protobuf:"varint,2,opt,name=ttl" json:"ttl,omitempty"`
	EncryptedKey    []byte `protobuf:"bytes,3,opt,name=encrypted_key,json=encryptedKey,proto3" json:"encrypted_key,omitempty"`
}

func (m *EncryptedHeader) Reset()                    { *m = EncryptedHeader{} }
func (m *EncryptedHeader) String() string            { return proto.CompactTextString(m) }
func (*EncryptedHeader) ProtoMessage()               {}
func (*EncryptedHeader) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }

type ServerConfig struct {
	ServerCertPath  string `protobuf:"bytes,1,opt,name=server_cert_path,json=serverCertPath" json:"server_cert_path,omitempty"`
	ServerKeyPath   string `protobuf:"bytes,2,opt,name=server_key_path,json=serverKeyPath" json:"server_key_path,omitempty"`
	ListenBind      string `protobuf:"bytes,3,opt,name=listen_bind,json=listenBind" json:"listen_bind,omitempty"`
	ArchivedKeysDir string `protobuf:"bytes,4,opt,name=archived_keys_dir,json=archivedKeysDir" json:"archived_keys_dir,omitempty"`
	ListenProtocol  string `protobuf:"bytes,5,opt,name=listen_protocol,json=listenProtocol" json:"listen_protocol,omitempty"`
}

func (m *ServerConfig) Reset()                    { *m = ServerConfig{} }
func (m *ServerConfig) String() string            { return proto.CompactTextString(m) }
func (*ServerConfig) ProtoMessage()               {}
func (*ServerConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }

type ClientConfig struct {
	NoGrpcSecurity     bool   `protobuf:"varint,1,opt,name=no_grpc_security,json=noGrpcSecurity" json:"no_grpc_security,omitempty"`
	UseSystemCaForGrpc bool   `protobuf:"varint,2,opt,name=use_system_ca_for_grpc,json=useSystemCaForGrpc" json:"use_system_ca_for_grpc,omitempty"`
	GrpcCert           string `protobuf:"bytes,3,opt,name=grpc_cert,json=grpcCert" json:"grpc_cert,omitempty"`
	GrpcServer         string `protobuf:"bytes,4,opt,name=grpc_server,json=grpcServer" json:"grpc_server,omitempty"`
}

func (m *ClientConfig) Reset()                    { *m = ClientConfig{} }
func (m *ClientConfig) String() string            { return proto.CompactTextString(m) }
func (*ClientConfig) ProtoMessage()               {}
func (*ClientConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }

func init() {
	proto.RegisterType((*GetPublicCertRequest)(nil), "GetPublicCertRequest")
	proto.RegisterType((*GetPublicCertResponse)(nil), "GetPublicCertResponse")
	proto.RegisterType((*DecryptSecretRequest)(nil), "DecryptSecretRequest")
	proto.RegisterType((*DecryptSecretResponse)(nil), "DecryptSecretResponse")
	proto.RegisterType((*EncryptedHeader)(nil), "EncryptedHeader")
	proto.RegisterType((*ServerConfig)(nil), "ServerConfig")
	proto.RegisterType((*ClientConfig)(nil), "ClientConfig")
}

// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn

// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion3

// Client API for SafeDumpService service

type SafeDumpServiceClient interface {
	GetPublicCert(ctx context.Context, in *GetPublicCertRequest, opts ...grpc.CallOption) (*GetPublicCertResponse, error)
	DecryptSecret(ctx context.Context, in *DecryptSecretRequest, opts ...grpc.CallOption) (*DecryptSecretResponse, error)
}

type safeDumpServiceClient struct {
	cc *grpc.ClientConn
}

func NewSafeDumpServiceClient(cc *grpc.ClientConn) SafeDumpServiceClient {
	return &safeDumpServiceClient{cc}
}

func (c *safeDumpServiceClient) GetPublicCert(ctx context.Context, in *GetPublicCertRequest, opts ...grpc.CallOption) (*GetPublicCertResponse, error) {
	out := new(GetPublicCertResponse)
	err := grpc.Invoke(ctx, "/SafeDumpService/GetPublicCert", in, out, c.cc, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *safeDumpServiceClient) DecryptSecret(ctx context.Context, in *DecryptSecretRequest, opts ...grpc.CallOption) (*DecryptSecretResponse, error) {
	out := new(DecryptSecretResponse)
	err := grpc.Invoke(ctx, "/SafeDumpService/DecryptSecret", in, out, c.cc, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// Server API for SafeDumpService service

type SafeDumpServiceServer interface {
	GetPublicCert(context.Context, *GetPublicCertRequest) (*GetPublicCertResponse, error)
	DecryptSecret(context.Context, *DecryptSecretRequest) (*DecryptSecretResponse, error)
}

func RegisterSafeDumpServiceServer(s *grpc.Server, srv SafeDumpServiceServer) {
	s.RegisterService(&_SafeDumpService_serviceDesc, srv)
}

func _SafeDumpService_GetPublicCert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetPublicCertRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(SafeDumpServiceServer).GetPublicCert(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/SafeDumpService/GetPublicCert",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(SafeDumpServiceServer).GetPublicCert(ctx, req.(*GetPublicCertRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _SafeDumpService_DecryptSecret_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(DecryptSecretRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(SafeDumpServiceServer).DecryptSecret(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/SafeDumpService/DecryptSecret",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(SafeDumpServiceServer).DecryptSecret(ctx, req.(*DecryptSecretRequest))
	}
	return interceptor(ctx, in, info, handler)
}

var _SafeDumpService_serviceDesc = grpc.ServiceDesc{
	ServiceName: "SafeDumpService",
	HandlerType: (*SafeDumpServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetPublicCert",
			Handler:    _SafeDumpService_GetPublicCert_Handler,
		},
		{
			MethodName: "DecryptSecret",
			Handler:    _SafeDumpService_DecryptSecret_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: fileDescriptor0,
}

func init() { proto.RegisterFile("safedump.proto", fileDescriptor0) }

var fileDescriptor0 = []byte{
	// 480 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x6c, 0x92, 0xd1, 0x6e, 0xda, 0x30,
	0x14, 0x86, 0x9b, 0xb2, 0x55, 0x70, 0x0a, 0x84, 0x59, 0x05, 0xa1, 0xee, 0x62, 0x55, 0x26, 0x6d,
	0x74, 0x17, 0xb9, 0x60, 0x2f, 0x50, 0x0d, 0xd6, 0x4e, 0xe2, 0x06, 0x25, 0x0f, 0x60, 0x05, 0xe7,
	0x04, 0x2c, 0x82, 0xe3, 0xd9, 0x4e, 0xa5, 0x3c, 0xc8, 0x5e, 0x62, 0x0f, 0xb4, 0xe7, 0x99, 0xec,
	0x24, 0x45, 0x20, 0xee, 0x9c, 0xcf, 0xe7, 0xfc, 0xbf, 0xcf, 0x9f, 0x03, 0x43, 0x9d, 0x64, 0x98,
	0x96, 0x07, 0x19, 0x4a, 0x55, 0x98, 0x22, 0x98, 0xc0, 0xdd, 0x0b, 0x9a, 0x75, 0xb9, 0xc9, 0x39,
	0x5b, 0xa0, 0x32, 0x11, 0xfe, 0x2e, 0x51, 0x9b, 0xe0, 0x11, 0xc6, 0x67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 0xff, 0x1a, 0x22, 0x29, 0xe5, 0x5b, 0x03, 0x00, 0x00,
}
<commit_msg>Update for newer grpc libraries<commit_after>// Code generated by protoc-gen-go.
// source: safedump.proto
// DO NOT EDIT!

/*
Package safedump is a generated protocol buffer package.

It is generated from these files:
	safedump.proto

It has these top-level messages:
	GetPublicCertRequest
	GetPublicCertResponse
	DecryptSecretRequest
	DecryptSecretResponse
	EncryptedHeader
	ServerConfig
	ClientConfig
*/
package safedump

import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"

import (
	context "golang.org/x/net/context"
	grpc "google.golang.org/grpc"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package

type GetPublicCertRequest struct {
}

func (m *GetPublicCertRequest) Reset()                    { *m = GetPublicCertRequest{} }
func (m *GetPublicCertRequest) String() string            { return proto.CompactTextString(m) }
func (*GetPublicCertRequest) ProtoMessage()               {}
func (*GetPublicCertRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }

type GetPublicCertResponse struct {
	Der []byte `protobuf:"bytes,1,opt,name=der,proto3" json:"der,omitempty"`
}

func (m *GetPublicCertResponse) Reset()                    { *m = GetPublicCertResponse{} }
func (m *GetPublicCertResponse) String() string            { return proto.CompactTextString(m) }
func (*GetPublicCertResponse) ProtoMessage()               {}
func (*GetPublicCertResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }

func (m *GetPublicCertResponse) GetDer() []byte {
	if m != nil {
		return m.Der
	}
	return nil
}

type DecryptSecretRequest struct {
	Header *EncryptedHeader `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"`
}

func (m *DecryptSecretRequest) Reset()                    { *m = DecryptSecretRequest{} }
func (m *DecryptSecretRequest) String() string            { return proto.CompactTextString(m) }
func (*DecryptSecretRequest) ProtoMessage()               {}
func (*DecryptSecretRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }

func (m *DecryptSecretRequest) GetHeader() *EncryptedHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

type DecryptSecretResponse struct {
	Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
}

func (m *DecryptSecretResponse) Reset()                    { *m = DecryptSecretResponse{} }
func (m *DecryptSecretResponse) String() string            { return proto.CompactTextString(m) }
func (*DecryptSecretResponse) ProtoMessage()               {}
func (*DecryptSecretResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }

func (m *DecryptSecretResponse) GetKey() []byte {
	if m != nil {
		return m.Key
	}
	return nil
}

type EncryptedHeader struct {
	SpkiFingerprint []byte `protobuf:"bytes,1,opt,name=spki_fingerprint,json=spkiFingerprint,proto3" json:"spki_fingerprint,omitempty"`
	Ttl             int64  `protobuf:"varint,2,opt,name=ttl" json:"ttl,omitempty"`
	EncryptedKey    []byte `protobuf:"bytes,3,opt,name=encrypted_key,json=encryptedKey,proto3" json:"encrypted_key,omitempty"`
}

func (m *EncryptedHeader) Reset()                    { *m = EncryptedHeader{} }
func (m *EncryptedHeader) String() string            { return proto.CompactTextString(m) }
func (*EncryptedHeader) ProtoMessage()               {}
func (*EncryptedHeader) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }

func (m *EncryptedHeader) GetSpkiFingerprint() []byte {
	if m != nil {
		return m.SpkiFingerprint
	}
	return nil
}

func (m *EncryptedHeader) GetTtl() int64 {
	if m != nil {
		return m.Ttl
	}
	return 0
}

func (m *EncryptedHeader) GetEncryptedKey() []byte {
	if m != nil {
		return m.EncryptedKey
	}
	return nil
}

type ServerConfig struct {
	ServerCertPath  string `protobuf:"bytes,1,opt,name=server_cert_path,json=serverCertPath" json:"server_cert_path,omitempty"`
	ServerKeyPath   string `protobuf:"bytes,2,opt,name=server_key_path,json=serverKeyPath" json:"server_key_path,omitempty"`
	ListenBind      string `protobuf:"bytes,3,opt,name=listen_bind,json=listenBind" json:"listen_bind,omitempty"`
	ArchivedKeysDir string `protobuf:"bytes,4,opt,name=archived_keys_dir,json=archivedKeysDir" json:"archived_keys_dir,omitempty"`
	ListenProtocol  string `protobuf:"bytes,5,opt,name=listen_protocol,json=listenProtocol" json:"listen_protocol,omitempty"`
}

func (m *ServerConfig) Reset()                    { *m = ServerConfig{} }
func (m *ServerConfig) String() string            { return proto.CompactTextString(m) }
func (*ServerConfig) ProtoMessage()               {}
func (*ServerConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }

func (m *ServerConfig) GetServerCertPath() string {
	if m != nil {
		return m.ServerCertPath
	}
	return ""
}

func (m *ServerConfig) GetServerKeyPath() string {
	if m != nil {
		return m.ServerKeyPath
	}
	return ""
}

func (m *ServerConfig) GetListenBind() string {
	if m != nil {
		return m.ListenBind
	}
	return ""
}

func (m *ServerConfig) GetArchivedKeysDir() string {
	if m != nil {
		return m.ArchivedKeysDir
	}
	return ""
}

func (m *ServerConfig) GetListenProtocol() string {
	if m != nil {
		return m.ListenProtocol
	}
	return ""
}

type ClientConfig struct {
	NoGrpcSecurity     bool   `protobuf:"varint,1,opt,name=no_grpc_security,json=noGrpcSecurity" json:"no_grpc_security,omitempty"`
	UseSystemCaForGrpc bool   `protobuf:"varint,2,opt,name=use_system_ca_for_grpc,json=useSystemCaForGrpc" json:"use_system_ca_for_grpc,omitempty"`
	GrpcCert           string `protobuf:"bytes,3,opt,name=grpc_cert,json=grpcCert" json:"grpc_cert,omitempty"`
	GrpcServer         string `protobuf:"bytes,4,opt,name=grpc_server,json=grpcServer" json:"grpc_server,omitempty"`
}

func (m *ClientConfig) Reset()                    { *m = ClientConfig{} }
func (m *ClientConfig) String() string            { return proto.CompactTextString(m) }
func (*ClientConfig) ProtoMessage()               {}
func (*ClientConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }

func (m *ClientConfig) GetNoGrpcSecurity() bool {
	if m != nil {
		return m.NoGrpcSecurity
	}
	return false
}

func (m *ClientConfig) GetUseSystemCaForGrpc() bool {
	if m != nil {
		return m.UseSystemCaForGrpc
	}
	return false
}

func (m *ClientConfig) GetGrpcCert() string {
	if m != nil {
		return m.GrpcCert
	}
	return ""
}

func (m *ClientConfig) GetGrpcServer() string {
	if m != nil {
		return m.GrpcServer
	}
	return ""
}

func init() {
	proto.RegisterType((*GetPublicCertRequest)(nil), "GetPublicCertRequest")
	proto.RegisterType((*GetPublicCertResponse)(nil), "GetPublicCertResponse")
	proto.RegisterType((*DecryptSecretRequest)(nil), "DecryptSecretRequest")
	proto.RegisterType((*DecryptSecretResponse)(nil), "DecryptSecretResponse")
	proto.RegisterType((*EncryptedHeader)(nil), "EncryptedHeader")
	proto.RegisterType((*ServerConfig)(nil), "ServerConfig")
	proto.RegisterType((*ClientConfig)(nil), "ClientConfig")
}

// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn

// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4

// Client API for SafeDumpService service

type SafeDumpServiceClient interface {
	GetPublicCert(ctx context.Context, in *GetPublicCertRequest, opts ...grpc.CallOption) (*GetPublicCertResponse, error)
	DecryptSecret(ctx context.Context, in *DecryptSecretRequest, opts ...grpc.CallOption) (*DecryptSecretResponse, error)
}

type safeDumpServiceClient struct {
	cc *grpc.ClientConn
}

func NewSafeDumpServiceClient(cc *grpc.ClientConn) SafeDumpServiceClient {
	return &safeDumpServiceClient{cc}
}

func (c *safeDumpServiceClient) GetPublicCert(ctx context.Context, in *GetPublicCertRequest, opts ...grpc.CallOption) (*GetPublicCertResponse, error) {
	out := new(GetPublicCertResponse)
	err := grpc.Invoke(ctx, "/SafeDumpService/GetPublicCert", in, out, c.cc, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *safeDumpServiceClient) DecryptSecret(ctx context.Context, in *DecryptSecretRequest, opts ...grpc.CallOption) (*DecryptSecretResponse, error) {
	out := new(DecryptSecretResponse)
	err := grpc.Invoke(ctx, "/SafeDumpService/DecryptSecret", in, out, c.cc, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// Server API for SafeDumpService service

type SafeDumpServiceServer interface {
	GetPublicCert(context.Context, *GetPublicCertRequest) (*GetPublicCertResponse, error)
	DecryptSecret(context.Context, *DecryptSecretRequest) (*DecryptSecretResponse, error)
}

func RegisterSafeDumpServiceServer(s *grpc.Server, srv SafeDumpServiceServer) {
	s.RegisterService(&_SafeDumpService_serviceDesc, srv)
}

func _SafeDumpService_GetPublicCert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetPublicCertRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(SafeDumpServiceServer).GetPublicCert(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/SafeDumpService/GetPublicCert",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(SafeDumpServiceServer).GetPublicCert(ctx, req.(*GetPublicCertRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _SafeDumpService_DecryptSecret_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(DecryptSecretRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(SafeDumpServiceServer).DecryptSecret(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/SafeDumpService/DecryptSecret",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(SafeDumpServiceServer).DecryptSecret(ctx, req.(*DecryptSecretRequest))
	}
	return interceptor(ctx, in, info, handler)
}

var _SafeDumpService_serviceDesc = grpc.ServiceDesc{
	ServiceName: "SafeDumpService",
	HandlerType: (*SafeDumpServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetPublicCert",
			Handler:    _SafeDumpService_GetPublicCert_Handler,
		},
		{
			MethodName: "DecryptSecret",
			Handler:    _SafeDumpService_DecryptSecret_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "safedump.proto",
}

func init() { proto.RegisterFile("safedump.proto", fileDescriptor0) }

var fileDescriptor0 = []byte{
	// 480 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x6c, 0x92, 0xd1, 0x6e, 0xda, 0x30,
	0x14, 0x86, 0x9b, 0xb2, 0x55, 0x70, 0x0a, 0x84, 0x59, 0x05, 0xa1, 0xee, 0x62, 0x55, 0x26, 0x6d,
	0x74, 0x17, 0xb9, 0x60, 0x2f, 0x50, 0x0d, 0xd6, 0x4e, 0xe2, 0x06, 0x25, 0x0f, 0x60, 0x05, 0xe7,
	0x04, 0x2c, 0x82, 0xe3, 0xd9, 0x4e, 0xa5, 0x3c, 0xc8, 0x5e, 0x62, 0x0f, 0xb4, 0xe7, 0x99, 0xec,
	0x24, 0x45, 0x20, 0xee, 0x9c, 0xcf, 0xe7, 0xfc, 0xbf, 0xcf, 0x9f, 0x03, 0x43, 0x9d, 0x64, 0x98,
	0x96, 0x07, 0x19, 0x4a, 0x55, 0x98, 0x22, 0x98, 0xc0, 0xdd, 0x0b, 0x9a, 0x75, 0xb9, 0xc9, 0x39,
	0x5b, 0xa0, 0x32, 0x11, 0xfe, 0x2e, 0x51, 0x9b, 0xe0, 0x11, 0xc6, 0x67, 0x5c, 0xcb, 0x42, 0x68,
	0x24, 0x23, 0xe8, 0xa4, 0xa8, 0xa6, 0xde, 0x83, 0x37, 0xeb, 0x47, 0xf6, 0x18, 0x3c, 0xc1, 0xdd,
	0x12, 0x99, 0xaa, 0xa4, 0x89, 0x91, 0x29, 0x6c, 0x25, 0xc8, 0x0c, 0x6e, 0x76, 0x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xfa, 0xbe, 0x7e, 0x5d, 0x8d, 0xd7, 0x0d, 0x0d, 0xfe, 0x7a, 0xd0, 0x5f, 0xe4,
	0x1c, 0x85, 0x39, 0x0e, 0x26, 0x0a, 0xba, 0x55, 0x92, 0x51, 0x8d, 0xac, 0x54, 0xdc, 0xd4, 0xe9,
	0x77, 0xa3, 0xa1, 0x28, 0x5e, 0x94, 0x64, 0x71, 0x43, 0xc9, 0x1c, 0x26, 0xa5, 0x46, 0xaa, 0x2b,
	0x6d, 0xf0, 0x40, 0x59, 0x42, 0xb3, 0x42, 0xb9, 0x46, 0x37, 0x5f, 0x37, 0x22, 0xa5, 0xc6, 0xd8,
	0x5d, 0x2e, 0x92, 0xe7, 0x42, 0xd9, 0x5e, 0xf2, 0x11, 0x7a, 0x4e, 0xda, 0x86, 0xd6, 0x8c, 0xd8,
	0xb5, 0xc0, 0xa6, 0x65, 0x13, 0x68, 0x7c, 0x6d, 0x2e, 0xcd, 0x68, 0xb0, 0x75, 0x9e, 0x96, 0xcc,
	0xff, 0x78, 0xe0, 0xc7, 0x49, 0x86, 0xcb, 0xf2, 0x20, 0x2d, 0xe2, 0x0c, 0xc9, 0x13, 0x0c, 0x4e,
	0xd6, 0x94, 0x8c, 0xc3, 0x4b, 0xeb, 0x7c, 0x3f, 0x09, 0x2f, 0x6e, 0x73, 0x70, 0x65, 0x15, 0x4e,
	0x76, 0x8f, 0x8c, 0xc3, 0x4b, 0xdb, 0x7c, 0x3f, 0x09, 0x2f, 0xae, 0x68, 0x70, 0xb5, 0xb9, 0x71,
	0x21, 0x7f, 0xff, 0x1f, 0x00, 0x00, 0xff, 0xff, 0x1a, 0x22, 0x29, 0xe5, 0x5b, 0x03, 0x00, 0x00,
}

{'fraction_non_alphanumeric': 0.1316979425729143, 'fraction_numerical': 0.08538699223754616, 'mean_word_length': 4.982642019837692, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2601175', 'n_tokens_mistral': 11990, 'n_tokens_neox': 10639, 'n_words': 2487}