Project

General

Profile

Feature #5857

lofiadm should ask passphrase once if the crypto is already set up

Added by Andrey Sokolov about 5 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Low
Category:
cmd - userland programs
Start date:
2015-04-20
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:

Description

Before asking passphrase lofiadm should check if the crypto is already set up(the same way as lofi_init_crypto() does in usr/src/uts/common/io/lofi.c):
1. open the file,
2. seek to crypto info block
3. check if the structure is there.

History

#2

Updated by Robert Mustacchi about 4 years ago

  • Subject changed from add -o option to lofiadm to lofiadm should ask passphrase once if the crypto is already set up
#3

Updated by Andrey Sokolov about 4 years ago

  • Description updated (diff)
#4

Updated by Electric Monk about 4 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit a1b1a2a0aac3d3c0533efa646a9d7a7dca91fc7c

commit  a1b1a2a0aac3d3c0533efa646a9d7a7dca91fc7c
Author: Andrey Sokolov <keremet@solaris.kirov.ru>
Date:   2016-03-13T18:15:51.000Z

    5857 lofiadm should ask passphrase once if the crypto is already set up
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Approved by: Dan McDonald <danmcd@omniti.com>

Also available in: Atom PDF