SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Master Key
Author Message
Post Master Key 
Hi,

First of all I must say that I'm impressed by the simplicity and power o=
f =

bacula. I'm new to the world of backups, but I found it extreamly simple=
=

to setup a backup server at home.

Now I was playing with Master Key and encryption. I can backup correctly=
, =

and restore using PKI, but I was wondering how to use the master key for=
=

restore. I undestood that Master key are a pass-par-tout, right?

I added this to my fd:

PKI Signatures =3D Yes # Enable Data Signing
PKI Encryption =3D Yes # Enable Data Encryption
PKI Keypair =3D "c:\\steno-fd.pem" # Public and Private Keys
PKI Master Key =3D "c:\\master.cert" # ONLY the Public Key

then on restore I modified the fd conf:

PKI Signatures =3D Yes # Enable Data Signing
PKI Encryption =3D Yes # Enable Data Encryption
PKI Keypair =3D "c:\\master.pem"

It almost works. I get the first file (whatever size) but then thd fd =

crashes. I tried it on 1.3.8 (director and sd) and 2.0.3 (windows fd). =

Then upgraded also the director and sd to 2.0.3 and tried with linux fd =
=

(Debian Sid).

So I think I probably did something wrong. Can someone tell me what?
I tried to run fd in debug (not sure wich number to use after -d so used=
=

3) and I got:

Orphaned buffer: Link-fd 528 bytes buf=3D809c2c8 allocated at bnet.c=
:1161
Orphaned buffer: Link-fd 272 bytes buf=3D80b1e98 allocated at jcr.c:=
247
Orphaned buffer: Link-fd 120 bytes buf=3D80b2ba8 allocated at bnet.c=
:1155
Orphaned buffer: Link-fd 528 bytes buf=3D80b6300 allocated at bnet.c=
:1162
Orphaned buffer: Link-fd 7 bytes buf=3D80b1888 allocated at bnet.c=
:1163
Orphaned buffer: Link-fd 10 bytes buf=3D80b2208 allocated at bnet.c=
:1164
Orphaned buffer: Link-fd 8 bytes buf=3D80b57d0 allocated at workq.=
c:165
Orphaned buffer: Link-fd 16 bytes buf=3D80b2c88 allocated at jcr.c:=
241
Orphaned buffer: Link-fd 528 bytes buf=3D80b7370 allocated at jcr.c:=
249
Orphaned buffer: Link-fd 380 bytes buf=3D80b75a0 allocated at find.c=
:63
Orphaned buffer: Link-fd 272 bytes buf=3D80b7740 allocated at find.c=
:66
Orphaned buffer: Link-fd 24 bytes buf=3D80b7870 allocated at job.c:=
210
Orphaned buffer: Link-fd 272 bytes buf=3D80b78a8 allocated at job.c:=
211
Orphaned buffer: Link-fd 32 bytes buf=3D80b79d8 allocated at job.c:=
213
Orphaned buffer: Link-fd 40 bytes buf=3D80b7d70 allocated at job.c:=
447
Orphaned buffer: Link-fd 120 bytes buf=3D80b7db8 allocated at bnet.c=
:1155
Orphaned buffer: Link-fd 528 bytes buf=3D80b7e50 allocated at bnet.c=
:1162
Orphaned buffer: Link-fd 15 bytes buf=3D80b7c48 allocated at bnet.c=
:1163
Orphaned buffer: Link-fd 14 bytes buf=3D80b7c78 allocated at bnet.c=
:1164
Orphaned buffer: Link-fd 272 bytes buf=3D80b8080 allocated at attr.c=
:44
Orphaned buffer: Link-fd 21 bytes buf=3D80b7cf0 allocated at job.c:=
1598
Orphaned buffer: Link-fd 65652 bytes buf=3D80b81b0 allocated at bnet.c=
:961
Orphaned buffer: Link-fd 65714 bytes buf=3D80c8248 allocated at =

restore.c:187
Orphaned buffer: Link-fd 48 bytes buf=3D80b7a68 allocated at =

restore.c:198
Orphaned buffer: Link-fd 140 bytes buf=3D80b7ab8 allocated at attr.c=
:42
Orphaned buffer: Link-fd 272 bytes buf=3D80d8318 allocated at attr.c=
:45
Orphaned buffer: Link-fd 272 bytes buf=3D80d8448 allocated at attr.c=
:46
Orphaned buffer: Link-fd 528 bytes buf=3D80d8578 allocated at =

restore.c:235
Orphaned buffer: Link-fd 272 bytes buf=3D80d87a8 allocated at =

create_file.c:443
Orphaned buffer: Link-fd 12 bytes buf=3D80b7ca8 allocated at =

idcache.c:110
Orphaned buffer: Link-fd 6 bytes buf=3D80d9a50 allocated at =

idcache.c:119
Orphaned buffer: Link-fd 12 bytes buf=3D80d9a78 allocated at =

idcache.c:50
Orphaned buffer: Link-fd 5 bytes buf=3D80d9fc8 allocated at =

idcache.c:59
Orphaned buffer: Link-fd 12 bytes buf=3D80da030 allocated at =

crypto.c:1154
Orphaned buffer: Link-fd 256 bytes buf=3D80da858 allocated at =

crypto.c:1206
Orphaned buffer: Link-fd 33616 bytes buf=3D80dcd50 allocated at =

mem_pool.c:197
Orphaned buffer: Link-fd 4 bytes buf=3D80b7a18 allocated at =

crypto.c:919

Thanks

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB