Professional Web Applications Themes

gbde - destroying master key without lockfile - FreeBSD

Hello, I would like to use gbde to encrypt some disks. Using an external lockfile things work pretty much as doented (except for some options that aren't supported by the tool, but which are listed in the manpage). However, for this particular situation, I do not want to use an external lockfile. The manpage seems to imply that without -L/-l, the first sector is used as a lockfile. Indeed, I can init, attach and detach devices without an external lockfile. However, when I attempt to destroy the master key: # gbde destroy /dev/label/storage304 Enter passphrase: Opened with key 0 gbde: ...

Sponsored Links
  1. #1

    Default gbde - destroying master key without lockfile

    Hello,

    I would like to use gbde to encrypt some disks. Using an external lockfile
    things work pretty much as doented (except for some options that aren't supported
    by the tool, but which are listed in the manpage). However, for this particular
    situation, I do not want to use an external lockfile.

    The manpage seems to imply that without -L/-l, the first sector is used as a lockfile.
    Indeed, I can init, attach and detach devices without an external lockfile. However,
    when I attempt to destroy the master key:

    # gbde destroy /dev/label/storage304
    Enter passphrase:
    Opened with key 0
    gbde: No -L option and no space in sector 0 for lockfile

    Trying to use -L for this particular operation fails:

    gbde: illegal option -- L
    Usage error: Invalid option

    And trying to specify "-n -1" as the manpage says also fails:

    gbde: illegal option -- n
    Usage error: Invalid option

    So the question is - how do I destroy the master key (other than dd if=/dev/zero of=...)
    when not using an external lockfile?

    (The reason I do not want to use an external lockfile is simply that I do not see a need
    for it in my situation and I would feel much more comfortable if the gbde volume was
    self-contained; no need to backup anything else or keep it in synch.)

    --
    / Peter Schuller, InfiDyne Technologies HB

    PGP userID: 0xE9758B7D or 'Peter Schuller <com>'
    Key retrieval: Send an E-Mail to org
    E-Mail: com Web: http://www.scode.org

    Sponsored Links
    Peter Guest

  2. #2

    Default Re: gbde - destroying master key without lockfile

    Peter Schuller wrote on Saturday 26 March 2005 12:09 in the group list.freebsd.questions:
     

    Instead of "destroy" I use "nuke".

    Kees Guest

  3. #3

    Default Re: gbde - destroying master key without lockfile

    > Instead of "destroy" I use "nuke".

    Thanks!

    --
    / Peter Schuller, InfiDyne Technologies HB

    PGP userID: 0xE9758B7D or 'Peter Schuller <com>'
    Key retrieval: Send an E-Mail to org
    E-Mail: com Web: http://www.scode.org

    Peter Guest

  4. #4

    Default Re: gbde - destroying master key without lockfile

    On Monday 28 March 2005 17:34, Peter Schuller wrote: 
    >
    > Thanks!
    >[/ref]
    Kees Guest

Similar Threads

  1. Any experiences with LockFile::Simple module?
    By badarisj@gmail.com in forum PERL Modules
    Replies: 2
    Last Post: April 27th, 09:00 PM
  2. Replies: 1
    Last Post: June 10th, 08:20 PM
  3. Issue with ASP/IIS and remaining Access 2K lockfile .ldb
    By Tom Kaminski [MVP] in forum ASP Database
    Replies: 4
    Last Post: March 4th, 03:56 PM
  4. Perl script crashing at lockfile ?
    By Peter in forum PERL Miscellaneous
    Replies: 3
    Last Post: October 2nd, 07:35 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139