euglug.org

[카테고리:] Uncategorized

  • [Eug-lug] USB Memory Sticks



    perduraboFri May 6 09:02:28 PDT 2005

    The PQI iStick, hands down. They're super small and very speedy
    (USB2). I keep a 512mb in my wallet at all times, as it as big as
    about half a stick of Wrigley's chewing gum. No bulkiness, and about
    as cheap as its competitors.
    
    513mb is ~$35, 1gb (which is the same size) ~$71
    
    http://tinyurl.com/dwwcn (link to NewEgg)
    
    And yes, you can boot linux off it, if you desire. I use DSL on mine.
    
    /per
    
    
    On 5/5/05, Jeff Newton <newton at efn.org> wrote:
    > Hey Guys,
    > 
    > I'm looking into getting one of those media memory sticks to use here, was
    > wondering if anyone has any recommendations on what to look into??
    > 
    > Thanks -
    > 
    > Jeff
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >
    
  • Resolved: [Eug-lug] Source Code Processing



    larry priceFri May 6 01:04:28 PDT 2005

    On 5/5/05, Jason Van Cleve <jason at vancleve.com> wrote:
    
    > I understand the unix line convention.  Yet some commands handle
    > "carriage return" chars for convenience, and that can be a good thing.
    > (I wonder if a command line switch for this in sed would be considered
    > offensive.) 
    Probably but you could ask the gnu folks.
    
    > Granted, if there's some utility in processing ^M
    > characters specially, then precision is better.  But then, I suppose the
    > "$" syntax cannot be used with Mac files at all, since it's based
    > strictly on the newline character, vrai?
    actually it's worse than that with OSX files produced on a Mac may or
    may not have unix or (oldschool)Mac line endings... depending on the
    program that produced them...
    
    > I also ack that M$ newlines are borked, but I find them inescapable.
    really, I find them quite easy to escape, vide.
    
    """foo
    bar
    baz
    """
    
    'foo%0Abar%0Abaz%0A' or dos style 'foo%0D%0Abar%0D%0Abaz%0D%0A'
    
    > --Jason V. C.
    > 
    > --
    > Stamp out intolerance!
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    > 
    
    
    -- 
    http://Zoneverte.org -- information explained
    Do you know what your IT infrastructure does?
    
  • [Eug-lug] encryption decryption



    larry priceFri May 6 00:41:47 PDT 2005

    On 5/5/05, Bob Miller <kbob at jogger-egg.com> wrote:
    > timothy wrote:
    > 
    > > If you use the above as a command wouldn't the password be in
    > > history.  On ocassion I have to go through my history file and
    > > delete things when I make a misstake.  Or is it like SSH where it
    > > asks for the password?  I didn't know you could do that thanks for
    > > showing us how to do it.
    > 
    > Yes, it would be in the history.  If you're doing this interactively,
    > it's much better to leave off the -pass pass:xyzzy arguments.  Then openssl
    > will prompt you for the passwords and you type them with no echo
    > and with no record left behind (unless there's a keystroke logger
    > on your system... )  See the openssl man page for all the options
    > for passwords.
    > 
    > I had assumed Fred wanted automatic backups.
    
    doing automated backups securely is very difficult task to set up
    the alternatives all leave something to be desired.
    
    best version I've seen is to set up ssh-agent on one machine to start
    at boot time
    (requires the admin to login and enter the pass-phrase) and have that
    machine run all the backups everywhere via ssh commands and supply
    passphrases etc. to the other machines.
    
    most setups I've seen either:
    1. did backups over a local subnet using trust relationships of one
    sort or another
    
    2. had an unencrypted private key or passphrase somewhere on the system
    
    1 can be vulnerable to various flavours of spoofing, and 2 can be
    locked down in various ways to minimise the damage if the unencrypted
    key were compromised
    
    both of those setups are less than ideal.
    
    A book I'm reading "Mastering FreeBSD and OpenBSD security" (i'll post
    a fuller review later) describes the use of m of n cryptography for
    locking down valuable corporate resources and describes a system in
    use at one bank where any 3 of 8 VPs are needed to provide their
    passphrases (at the console) to unlock the banks root certificates
    (and the secure webserver can't be started until they have done so)
    which  provides some definite incentive to keep the systems up and
    running.
    
    feeding a passphrase to a keyserver on reboot seems much less of a
    hassle by comparison (especially if you can do so remotely).
    
    -- 
    http://Zoneverte.org -- information explained
    Do you know what your IT infrastructure does?
    
  • [Eug-lug] USB Memory Sticks



    larry priceFri May 6 00:09:49 PDT 2005

    On 5/5/05, Jeff Newton <newton at efn.org> wrote:
    > Hey Guys,
    > 
    > I'm looking into getting one of those media memory sticks to use here, was
    > wondering if anyone has any recommendations on what to look into??
    
    the bigger the better, you won't be happy with anything less than 256MB
    
    I've got one of the lexar jumpdrives (sport edition) that comes with a
    little rubberised key chain thing which keeps the dust out, I've seen
    the same model for less than $30 w/o rebates and less than $20 w/
    
    things I keep on mine:
    a known good copy of putty (windows ssh client)
    passphrase locked copy of my ssh keys
    A couple of photos that make good background images.
    some kicky mp3s
    
    some things I'd like to find
    a tiny emacs clone that can work in a windows console shell
     
    other than that there's not much to say about them, they are small and handy
    
    work fine on modern OS's without any fiddling
    
    
    
    -- 
    http://Zoneverte.org -- information explained
    Do you know what your IT infrastructure does?
    
  • [Eug-lug] USB Memory Sticks



    Walter HurstFri May 6 00:07:20 PDT 2005

    All I got to say is they're great. I've had one for 3 years and never 
    had a problem, using it between Mac/PC and different OS versions (old 
    and new).
    
    Mine is a Targus (one of the originals). It has software for 
    securing/encrypting part of the memory. I liked that feature when 
    copying around personal files. It is 128M.
    
    At the time, that was a decent size. Now I would get one with more 
    memory.
    
    You could also get an Apple iShuffle and use it for memory or music...
    
    Walter.
    
    On May 5, 2005, at 3:03 PM, Jeff Newton wrote:
    
    > Hey Guys,
    >
    > I'm looking into getting one of those media memory sticks to use here, 
    > was wondering if anyone has any recommendations on what to look into??
    >
    > Thanks -
    >
    > Jeff
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >
    
    
  • [Eug-lug] USB Memory Sticks



    Walter HurstFri May 6 00:06:40 PDT 2005

    All I got to say is they're great. I've had one for 3 years and never 
    had a problem, using it between Mac/PC and different OS versions (old 
    and new).
    
    Mine is a Targus (one of the originals). It has software for 
    securing/encrypting part of the memory. I liked that feature when 
    copying around personal files. It is 128M.
    
    At the time, that was a decent size. Now I would get one with more 
    memory.
    
    You could also get an Apple iShuffle and use it for memory or music...
    
    Walter.
    
    On May 5, 2005, at 3:03 PM, Jeff Newton wrote:
    
    > Hey Guys,
    >
    > I'm looking into getting one of those media memory sticks to use here, 
    > was wondering if anyone has any recommendations on what to look into??
    >
    > Thanks -
    >
    > Jeff
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >
    
    
  • Resolved: [Eug-lug] Source Code Processing



    Jason Van CleveThu May 5 23:45:13 PDT 2005

    Quoth Bob Miller, on Thu, 5 May 2005 23:15:37 -0700:
    
    > Sed is a Unix command.  Therefore it follows Unix line end
    > conventions.  If it didn't, it would be broken, and many scripts that
    > rely on its correct behavior would also be broken.  I don't see why
    
    I understand the unix line convention.  Yet some commands handle
    "carriage return" chars for convenience, and that can be a good thing. 
    (I wonder if a command line switch for this in sed would be considered
    offensive.)  Granted, if there's some utility in processing ^M
    characters specially, then precision is better.  But then, I suppose the
    "$" syntax cannot be used with Mac files at all, since it's based
    strictly on the newline character, vrai?
    
    I also ack that M$ newlines are borked, but I find them inescapable.
    
    --Jason V. C.
    
    --
    Stamp out intolerance!
    
  • [Eug-lug] encryption decryption



    Bob MillerThu May 5 23:22:19 PDT 2005

    timothy wrote:
    
    > If you use the above as a command wouldn't the password be in
    > history.  On ocassion I have to go through my history file and
    > delete things when I make a misstake.  Or is it like SSH where it
    > asks for the password?  I didn't know you could do that thanks for
    > showing us how to do it.
    
    Yes, it would be in the history.  If you're doing this interactively,
    it's much better to leave off the -pass pass:xyzzy arguments.  Then openssl
    will prompt you for the passwords and you type them with no echo
    and with no record left behind (unless there's a keystroke logger
    on your system... )  See the openssl man page for all the options
    for passwords.
    
    I had assumed Fred wanted automatic backups.
    
    -- 
    Bob Miller                              K<bob>
    kbobsoft software consulting
    http://kbobsoft.com                     kbob at jogger-egg.com
    
  • Resolved: [Eug-lug] Source Code Processing



    Bob MillerThu May 5 23:15:37 PDT 2005

    Jason Van Cleve wrote:
    
    > I can only surmise sed is thus free to treat "^M" as part of the RE or
    > as part of the "end of a line", and opts for the former.
    
    Sed is a Unix command.  Therefore it follows Unix line end
    conventions.  If it didn't, it would be broken, and many scripts that
    rely on its correct behavior would also be broken.  I don't see why
    you would expect otherwise.  It's like meeting an English-speaking
    person and expecting him to also understand French or Hindi because
    other people understand those languages.
    
    -- 
    Bob Miller                              K<bob>
    kbobsoft software consulting
    http://kbobsoft.com                     kbob at jogger-egg.com
    
  • [Eug-lug] encryption decryption



    timothyThu May 5 21:28:14 PDT 2005

    On Thursday 05 May 2005 14:42, Bob Miller wrote:
    
    > If you just want to encrypt a tar file, you can do this.
    >
    >     tar cvf - ./$Path | openssl bf -e -pass pass:xyzzy > /dev/st0 >> $TOC
    >
    > To decrypt, do this.
    >
    >     openssl bf -d < /dev/st0 | tar xf - $files
    >     enter bf-cbc decryption password: xyzzy
    >
    > Look at the openssl and bf man pages for details.
    >
    > But think carefully about password management.  The scheme above
    > uses a fixed password.  A regularly changing one would be better.
    > A password that isn't stored in a script would be better yet.
    
    If you use the above as a command wouldn't the password be in history.  On 
    ocassion I have to go through my history file and delete things when I make a 
    misstake.  Or is it like SSH where it asks for the password?   I didn't know 
    you could do that thanks for showing us how to do it.
    
    Tim