[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[ANN] keybox 1.1.0 Released

Jeremy Hinegardner

1/28/2007 4:26:00 AM

keybox version 1.1.0 has been released.

http://keybox.rub...

Keybox is a set of command line applications and ruby libraries for
secure password storage and password generation.

{{ Changelog for Version 1.1.0 }}

=== Version 1.1.0

* keybox now uses HighLine for terminal input/output
* Added --color SCHEME option to support custom colorized output
and non-colorzed output
- ships with light_bg and dark_bg schemes, dark_bg is default
* Fixed configuration bug where command line options were not
correctly overwriting default options.


http://keybox.rub...

--
========================================================================
Jeremy Hinegardner jeremy@hinegardner.org


10 Answers

Gregory Brown

1/28/2007 4:56:00 AM

0

On 1/27/07, Jeremy Hinegardner <jeremy@hinegardner.org> wrote:
> keybox version 1.1.0 has been released.
>
> http://keybox.rub...
>
> Keybox is a set of command line applications and ruby libraries for
> secure password storage and password generation.
>
> {{ Changelog for Version 1.1.0 }}
>
> === Version 1.1.0
>
> * keybox now uses HighLine for terminal input/output
> * Added --color SCHEME option to support custom colorized output
> and non-colorzed output

Sweet. Nice work jeremy

Jeremy Hinegardner

1/28/2007 5:00:00 AM

0

On Sun, Jan 28, 2007 at 01:55:31PM +0900, Gregory Brown wrote:
> On 1/27/07, Jeremy Hinegardner <jeremy@hinegardner.org> wrote:
> >keybox version 1.1.0 has been released.
> >
> > http://keybox.rub...
> >
> >Keybox is a set of command line applications and ruby libraries for
> >secure password storage and password generation.
> >
> >{{ Changelog for Version 1.1.0 }}
> >
> >=== Version 1.1.0
> >
> >* keybox now uses HighLine for terminal input/output
> >* Added --color SCHEME option to support custom colorized output
> > and non-colorzed output
>
> Sweet. Nice work jeremy

Well kudos to James and you for accpeting my HighLine patch that made it
possible.

enjoy,

-jeremy

--
========================================================================
Jeremy Hinegardner jeremy@hinegardner.org


Daniel Berger

1/28/2007 5:08:00 AM

0

Gregory Brown wrote:
> On 1/27/07, Jeremy Hinegardner <jeremy@hinegardner.org> wrote:
>> keybox version 1.1.0 has been released.
>>
>> http://keybox.rub...
>>
>> Keybox is a set of command line applications and ruby libraries for
>> secure password storage and password generation.
>>
>> {{ Changelog for Version 1.1.0 }}
>>
>> === Version 1.1.0
>>
>> * keybox now uses HighLine for terminal input/output
>> * Added --color SCHEME option to support custom colorized output
>> and non-colorzed output
>
> Sweet. Nice work jeremy

Yep, nice.

Greg, is there any builtin support for keybox within Ruport?

I've been using dbi-dbrc to store database login/passwords in the past,
but they aren't encrypted (just protected via perms). I may have to use
this if the API is friendly (I've only looked at the demo so far). :)

Dan


Jeremy Hinegardner

1/28/2007 5:48:00 AM

0

On Sun, Jan 28, 2007 at 02:08:22PM +0900, Daniel Berger wrote:
>
> I've been using dbi-dbrc to store database login/passwords in the past,
> but they aren't encrypted (just protected via perms). I may have to use
> this if the API is friendly (I've only looked at the demo so far). :)

I think the documentation for Keybox is pretty good, but feel free to
call me on it. Its all on the website as rdoc, You'll probably want to
look at the Storage::Container documentation.

http://keybox.rubyforge.org/rdoc/...

Here's a quick script to give you an idea of what you could do to roll
your own encrypted storage container using keybox.

% cat embedded_container.rb
require 'keybox'
include Keybox

PASSPHRASE = "passphrase"
DB_PATH = "/tmp/database.yaml"

container = Storage::Container.new(PASSPHRASE,DB_PATH)

# use the already existing HostAccountEntry
container << HostAccountEntry.new("My DB Login",
"db.example.com",
"dbmanager",
"a really good password")
container.save

# pretend we're in a different part of a program, or another program
c2 = Storage::Container.new(PASSPHRASE,DB_PATH)

# iterate over results
c2.find("example").each do |c|
puts c
end
puts "=" * 20

# or we just now we want the first one found
puts c2.find(/com/).first

Let me know if you have any specific questions or approaches. And if
you have some requests for specific API's or functionality let me know.
And patches are always good.

enjoy,

-jeremy

--
========================================================================
Jeremy Hinegardner jeremy@hinegardner.org


James Gray

1/28/2007 5:57:00 AM

0

On Jan 27, 2007, at 10:59 PM, Jeremy Hinegardner wrote:

> On Sun, Jan 28, 2007 at 01:55:31PM +0900, Gregory Brown wrote:
>> On 1/27/07, Jeremy Hinegardner <jeremy@hinegardner.org> wrote:
>>> keybox version 1.1.0 has been released.
>>>
>>> http://keybox.rub...
>>>
>>> Keybox is a set of command line applications and ruby libraries for
>>> secure password storage and password generation.
>>>
>>> {{ Changelog for Version 1.1.0 }}
>>>
>>> === Version 1.1.0
>>>
>>> * keybox now uses HighLine for terminal input/output
>>> * Added --color SCHEME option to support custom colorized output
>>> and non-colorzed output
>>
>> Sweet. Nice work jeremy
>
> Well kudos to James and you for accpeting my HighLine patch that
> made it
> possible.

Kudos to you for choosing to patch HighLine enough to meet your needs
so we all might benefit.

Notice to all: HighLine now supports color schemes thanks to Jeremy.

James Edward Gray II


Trans

1/28/2007 12:00:00 PM

0



On Jan 28, 12:56 am, James Edward Gray II <j...@grayproductions.net>
wrote:
> On Jan 27, 2007, at 10:59 PM, Jeremy Hinegardner wrote:
>
>
>
> > On Sun, Jan 28, 2007 at 01:55:31PM +0900, Gregory Brown wrote:
> >> On 1/27/07, Jeremy Hinegardner <jer...@hinegardner.org> wrote:
> >>> keybox version 1.1.0 has been released.
>
> >>> http://keybox.rub...
>
> >>> Keybox is a set of command line applications and ruby libraries for
> >>> secure password storage and password generation.
>
> >>> {{ Changelog for Version 1.1.0 }}
>
> >>> === Version 1.1.0
>
> >>> * keybox now uses HighLine for terminal input/output
> >>> * Added --color SCHEME option to support custom colorized output
> >>> and non-colorzed output
>
> >> Sweet. Nice work jeremy
>
> > Well kudos to James and you for accpeting my HighLine patch that
> > made it
> > possible.Kudos to you for choosing to patch HighLine enough to meet your needs
> so we all might benefit.
>
> Notice to all: HighLine now supports color schemes thanks to Jeremy.

maybe keybox should become a part of HighLine? sounds like a perfect
fit.

T.


James Gray

1/28/2007 3:55:00 PM

0

On Jan 28, 2007, at 6:00 AM, Trans wrote:

> maybe keybox should become a part of HighLine? sounds like a perfect
> fit.

That's completely up to Jeremy, but I'm not sure I see the need to
merge. Seems like we have the best of both worlds now.

James Edward Gray II

Gregory Brown

1/28/2007 4:44:00 PM

0

On 1/28/07, Daniel Berger <djberg96@gmail.com> wrote:

> Greg, is there any builtin support for keybox within Ruport?

Daniel, no, not just yet.

I don't think I'd go for built in support, but within the next couple
week we'll have a system for Ruport Extensions and this would be a
great addition. So, if you'd like stop by the Ruport list and share
your ideas :)

Gregory Brown

1/28/2007 4:46:00 PM

0

On 1/28/07, James Edward Gray II <james@grayproductions.net> wrote:
> On Jan 28, 2007, at 6:00 AM, Trans wrote:
>
> > maybe keybox should become a part of HighLine? sounds like a perfect
> > fit.
>
> That's completely up to Jeremy, but I'm not sure I see the need to
> merge. Seems like we have the best of both worlds now.

Agreed. I kind of like that HighLine is more-or-less self contained
and though Keybox makes a great combination with it, I don't know that
it'd really need to be in HighLine.

Definitely cool stuff all around though :)

Jeremy Hinegardner

1/28/2007 5:59:00 PM

0

On Mon, Jan 29, 2007 at 01:45:53AM +0900, Gregory Brown wrote:
> On 1/28/07, James Edward Gray II <james@grayproductions.net> wrote:
> >On Jan 28, 2007, at 6:00 AM, Trans wrote:
> >
> >> maybe keybox should become a part of HighLine? sounds like a perfect
> >> fit.
> >
> >That's completely up to Jeremy, but I'm not sure I see the need to
> >merge. Seems like we have the best of both worlds now.
>
> Agreed. I kind of like that HighLine is more-or-less self contained
> and though Keybox makes a great combination with it, I don't know that
> it'd really need to be in HighLine.

I'll have to say I don't see a reason to merge the two projects. Keybox
is first and foremost a password storage/management system. And
HighLine is a great library for doing terminal IO. Keybox just happens
to use HighLine for its terminal IO and pretty colours.

enjoy,

-jeremy

--
========================================================================
Jeremy Hinegardner jeremy@hinegardner.org