From: Milan Broz <gmazyland@gmail.com>
To: ".. ink .." <mhogomchungu@gmail.com>, dm-crypt <dm-crypt@saout.de>
Subject: Re: [dm-crypt] [ANNOUNCE] cryptsetup 1.6.6
Date: Sat, 16 Aug 2014 13:56:11 +0200 [thread overview]
Message-ID: <53EF46DB.6090205@gmail.com> (raw)
In-Reply-To: <CAFnMBaS8HZvTh3QrAvhTJB_c=mS6Nfb2z9kqoHgFNSw9hN-V=w@mail.gmail.com>
On 08/16/2014 12:59 PM, .. ink .. wrote:
>
> On Sat, Aug 16, 2014 at 6:49 AM, Milan Broz <gmazyland@gmail.com <mailto:gmazyland@gmail.com>> wrote:
>
>
>
> Cryptsetup API NOTE:
> The direct terminal handling for passphrase entry will be removed from
> libcryptsetup in next major version (application should handle it itself).
>
> It means that you have to always either provide password in buffer or set
> your own password callback function through crypt_set_password_callback().
> See API documentation (or libcryptsetup.h) for more info.
>
>
>
> Any reason why this API is being remove?
In fact this was a design mistake while I was rewriting API from legacy code.
No direct terminal handling should be in library this way and AFAIK there are no
extensive users for this part of API (except cryptsetup binary itself).
So in fact this should not cause any problem at all, except need for rebuild.
(IOW it is only removal of "NULL" option in password param in API functions,
functions will stay the same - grep for deprecated warnings in libcryptsetup.h.)
> Any new APIs will be introduced in the next major version?
Probably yes, depends on which planned features we will be able to implement.
The most important task I would like to see is support for new KDF algorithms
for LUKS, based on Password hashing competition finalist.
This will require some header extension but maybe it is possible that we will
have complete new LUKS2 on-disk header version.
There will be some experimental branches for some time for testing and discussion.
Milan
next prev parent reply other threads:[~2014-08-16 11:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-16 10:49 [dm-crypt] [ANNOUNCE] cryptsetup 1.6.6 Milan Broz
2014-08-16 10:59 ` .. ink ..
2014-08-16 11:56 ` Milan Broz [this message]
2014-08-16 11:25 ` Arno Wagner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53EF46DB.6090205@gmail.com \
--to=gmazyland@gmail.com \
--cc=dm-crypt@saout.de \
--cc=mhogomchungu@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).