<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    
    <title>Raymond P. Burkholder - Things I Do - Cryptography</title>
    <link>http://blog.raymond.burkholder.net/</link>
    <description>In And Around Technology and The Arts</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.7.2 - http://www.s9y.org/</generator>
    <pubDate>Tue, 12 Jun 2018 02:27:11 GMT</pubDate>

    <image>
        <url>http://blog.raymond.burkholder.net/templates/bulletproof/img/s9y_banner_small.png</url>
        <title>RSS: Raymond P. Burkholder - Things I Do - Cryptography - In And Around Technology and The Arts</title>
        <link>http://blog.raymond.burkholder.net/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Security, Encryption, Cryptography</title>
    <link>http://blog.raymond.burkholder.net/index.php?/archives/929-Security,-Encryption,-Cryptography.html</link>
            <category>Cryptography</category>
    
    <comments>http://blog.raymond.burkholder.net/index.php?/archives/929-Security,-Encryption,-Cryptography.html#comments</comments>
    <wfw:comment>http://blog.raymond.burkholder.net/wfwcomment.php?cid=929</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.raymond.burkholder.net/rss.php?version=2.0&amp;type=comments&amp;cid=929</wfw:commentRss>
    

    <author>nospam@example.com (Raymond P. Burkholder)</author>
    <content:encoded>
    &lt;p&gt;I am looking to build a small console based password manager.  I started looking at this when RoboForm stopped being able  to work in a Firefox browser with a local password file.  They now force passwords to their cloud platform.  Uck.

&lt;p&gt;Bottom line, I need to encrypt sites, names, and passwords into a small files which I can rsync amongst devices until I can build in a sync&#039;ing process.  I would like to be able to do this between Linux, Mac, Windows, and Android.  

&lt;p&gt;I started by doing a &lt;a href=&quot;https://github.com/rburkholder/pw/tree/cryptopp&quot; target=_blank&gt;test program&lt;/a&gt; with &lt;a href=&quot;https://www.cryptopp.com/&quot; target=_blank&gt;crypto++&lt;/a&gt;, as it seemed to be a lightweight library which could easily be adapted for use on the Android.  

&lt;p&gt;Further research indicates that switching to &lt;a href=&quot;https://libsodium.org&quot; target=_blank&gt;libsodium&lt;/a&gt; might be worthwhile.  Documentation seems to be better, and it explicitly supports Android, and it interestingly discusses the drawbacks of using GCM-AES, and instead suggests using ChaCha20-Poly1305 for Authenticated Encryption.

&lt;p&gt;Something to go along with is being able to use the SSH agent for nonce signing.  Information is available in 
&lt;a href=&quot;https://tools.ietf.org/html/draft-miller-ssh-agent-02&quot; target=_blank&gt;SSH Agent Protocol&lt;/a&gt; or
&lt;a href=&quot;https://tools.ietf.org/id/draft-miller-ssh-agent-02.html&quot; target=_blank&gt;draft-miller-ssh-agent-02&lt;/a&gt;.  With a bit of an example at
&lt;a href=&quot;http://ptspts.blogspot.com/2010/06/how-to-use-ssh-agent-programmatically.html&quot; target=_blank&gt;How to use the ssh-agent programmatically for RSA signing &lt;/a&gt;.

&lt;p&gt;More coding to do.

&lt;p&gt;In related reading, I came across:

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://tox.chat/&quot; target=_blank&gt;Tox&lt;/a&gt;, protected, encrypted, private, distributed instant messaging, voice, video, screen sharing, filesharing, and groups.
  &lt;li&gt;&lt;a href=&quot;https://www.stellar.org/&quot; target=_blank&gt;stellar&lt;/a&gt;: is a platform that connects banks, payments systems, and people. Integrate to move money quickly, reliably, and at almost no cost.
  &lt;li&gt;&lt;a href=&quot;https://github.com/zyisrad/pbox&quot; target=_blank&gt;pbox&lt;/a&gt; which uses pbox files to hold encrypted items (almost what I&#039;d like to do)
  &lt;li&gt;&lt;a href=&quot;https://www.openbazaar.org/&quot; target=_blank&gt;OpenBazaar&lt;/a&gt;: a free online marketplace, with no platform fees, no restrictions, and provides an ability to earn cryptocurrency.  Some &lt;a href=&quot;https://bitcoinexchangeguide.com/open-bazaar/&quot; target=_blank&gt;background&lt;/a&gt;.
  &lt;li&gt;&lt;a href=&quot;https://www.evernym.com/&quot; target=_blank&gt;Self-sovereign identity&lt;/a&gt; - an entirely new distributed ledger that’s engineered for the sole purpose of identity.  &lt;a href=&quot;https://www.w3.org/2017/vc/charter.html&quot; target=_blank&gt;supporting cast&lt;/a&gt;.
  &lt;/ul&gt;

&lt;p&gt;Beginnings of a console based &lt;a href=&quot;https://github.com/rburkholder/pw&quot; target=_blank&gt;password manager&lt;/a&gt;. 
    </content:encoded>

    <pubDate>Sat, 19 May 2018 01:09:27 +0000</pubDate>
    <guid isPermaLink="false">http://blog.raymond.burkholder.net/index.php?/archives/929-guid.html</guid>
    
</item>
<item>
    <title>Embedded Design: Crypto</title>
    <link>http://blog.raymond.burkholder.net/index.php?/archives/652-Embedded-Design-Crypto.html</link>
            <category>Cryptography</category>
    
    <comments>http://blog.raymond.burkholder.net/index.php?/archives/652-Embedded-Design-Crypto.html#comments</comments>
    <wfw:comment>http://blog.raymond.burkholder.net/wfwcomment.php?cid=652</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.raymond.burkholder.net/rss.php?version=2.0&amp;type=comments&amp;cid=652</wfw:commentRss>
    

    <author>nospam@example.com (Raymond P. Burkholder)</author>
    <content:encoded>
    &lt;p&gt;Various crypto attacks have come to light.  &lt;a href=&quot;https://bettercrypto.org/blog/2015/05/20/tls-logjam/&quot; target=_blank&gt;BetterCrypto&lt;/a&gt; talks of the &lt;a href=&quot;https://weakdh.org/&quot; target=_blank&gt;LogJam Attack&lt;/a&gt; (a Diffie-Hellman weakness exploit) and how to mitigate its issues.  The site also has a &lt;a href=&quot;https://bettercrypto.org/static/applied-crypto-hardening.pdf&quot; target=_blank&gt;Applied Crypto Hardening&lt;/a&gt; document, which is over 100 pages long, for how to how to harden common crypto-utilizing systems.  

&lt;p&gt;The post lead to look at crypto devices for carrying around private keys and performing two factor authentication for Linux.  One site I came across was 
&lt;a href=&quot;http://changelog.complete.org/archives/9381-detailed-smart-card-cryptographic-token-security-guide&quot; where they discuss the OpenPGP and Yubikey Neo cards and their software compatibility.  Well worth the read.  This is the article from the same site where the author obtains and 
&lt;a href=&quot;http://changelog.complete.org/archives/9358-first-steps-with-smartcards-under-linux-and-android-hard-but-it-works&quot; target=_blank&gt;performs his initial trials&lt;/a&gt; of Linux based smartcards.

&lt;p&gt;Coming at the problem from a different direction, I came across someone using a 
&lt;a href=&quot;http://www.earth.li/~noodles/blog/2015/08/program-fst01-with-buspirate.html&quot; target=_blank&gt;Programming the FST-01 (gnuk) with a Bus Pirate + OpenOCD&lt;/a&gt;.  This article 
is about getting &lt;a href=&quot;http://www.fsij.org/category/gnuk.html&quot; target=_blank&gt;gnuk&lt;/a&gt; devices to work with the Debian releases.  The interesting twist here is that the author
wanted to actually customize the devices.  I didn&#039;t think this was possible.  But the article talks about using a programmer which uses 
&lt;a href=&quot;http://www.arm.com/products/system-ip/debug-trace/coresight-soc-components/serial-wire-debug.php&quot; target=_blank&gt;SWD&lt;/a&gt; support to get down and dirty with the hardware.  &lt;a href=&quot;http://openocd.org/&quot; target=_blank&gt;OpenOCD&lt;/a&gt;, which is the short form for Open On Chip Debugging, forms a primary role in the article.  

&lt;p&gt;On Chip Debugging opens up a whole new avenue of exploration for Embedded Systems Desgn.  The Bus Pirate, mentioned above, can be found at 
&lt;a href=&quot;http://dangerousprototypes.com/docs/Bus_Pirate&quot; target=_blank&gt;Dangerous Prototypes&lt;/a&gt;

&lt;p&gt;As part of some embedded solutions I am looking at, I picked up a few NVIDIA Jetson TK1 devices.  It is cool that Christian&#039;s Blog talks about 
&lt;a href=&quot;http://www.jann.cc/2015/05/16/jtag_debugging_nvidia_jetson_tk1_pro_devkit.html&quot; target=_blank&gt;Debugging the Linux kernel via JTAG on the NVIDIA Jetson TK1 / Jetson Pro DevKit&lt;/a&gt; where JTAG is a very common mechanism for On Chip Debugging and testing.

&lt;p&gt;Going a little further afield, I came across &lt;a href=&quot;http://sigrok.org/&quot; target=_blank&gt;sigrok&lt;/a&gt; which is a project aiming at &quot;creating a portable, cross-platform, Free/Libre/Open-Source signal analysis software suite that supports various device types (e.g. logic analyzers, oscilloscopes, and many more).&quot;  Rigol seemed to be a manufacturer of respected, compatible devices.

&lt;p&gt;Even further afield, not crypto related, but something interesting, I came across an interesting DSP based solution with the 
&lt;a href=&quot;https://www.olimex.com/Products/DSP/Development/TMS320-P28016/&quot; target=_blank&gt;TMS320F28016 development board&lt;/a&gt; which is &quot;known to be the world&#039;s lowest cost 32-bit Real Time Microcontroller (DSP) with a build in CAN&quot;.

&lt;p&gt;While on the subject of crypto, here is something on how to &lt;a href=&quot;https://stribika.github.io/2015/01/04/secure-secure-shell.html&quot; target=_blank&gt;Secure Secure Shell (SSH)&lt;/a&gt;.  SSH has the capability of using many different crypto combinations.  The default may not necessarily be the best.  This describes the more secure combinations and how to use them.

&lt;p&gt;While on the subject of hardening, a site describing &lt;a href=&quot;https://scotthelme.co.uk/hardening-your-http-response-headers/&quot; target=_blank&gt;Hardening your HTTP response headers&lt;/a&gt;.  Mostly, IIS, but some nginx and a tiny bit apache. 
    </content:encoded>

    <pubDate>Tue, 15 Sep 2015 21:04:42 +0000</pubDate>
    <guid isPermaLink="false">http://blog.raymond.burkholder.net/index.php?/archives/652-guid.html</guid>
    
</item>
<item>
    <title>Linux Crypto</title>
    <link>http://blog.raymond.burkholder.net/index.php?/archives/582-Linux-Crypto.html</link>
            <category>Cryptography</category>
    
    <comments>http://blog.raymond.burkholder.net/index.php?/archives/582-Linux-Crypto.html#comments</comments>
    <wfw:comment>http://blog.raymond.burkholder.net/wfwcomment.php?cid=582</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.raymond.burkholder.net/rss.php?version=2.0&amp;type=comments&amp;cid=582</wfw:commentRss>
    

    <author>nospam@example.com (Raymond P. Burkholder)</author>
    <content:encoded>
    &lt;p&gt;A link to another site &lt;a href=&quot;http://blog.sanctum.geek.nz/series/linux-crypto/&quot; target=_blank&gt;Linux Crypto:  Introduction&lt;/a&gt; covering such things as:

&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.sanctum.geek.nz/linux-crypto-gnupg-keys/&quot; target=_blank&gt;GnuPG key generation and management&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.sanctum.geek.nz/linux-crypto-gnupg-usage/&quot; target=_blank&gt;GnuPG signing, verifying, encryption, and decryption&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.sanctum.geek.nz/linux-crypto-ssh-keys/&quot; target=_blank&gt;SSH key generation and authentication&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.sanctum.geek.nz/linux-crypto-sshgpg-agents/&quot; target=_blank&gt;&lt;code&gt;gpg-agent(1)&lt;/code&gt;, &lt;code&gt;ssh-agent(1)&lt;/code&gt;, and the use of &lt;code&gt;keychain(1)&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.sanctum.geek.nz/linux-crypto-passwords/&quot; target=_blank&gt;The &lt;code&gt;pass(1)&lt;/code&gt; UNIX password manager&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.sanctum.geek.nz/linux-crypto-email/&quot; target=_blank&gt;Encrypted/signed PGP mail with &lt;code&gt;mutt(1)&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.sanctum.geek.nz/linux-crypto-backups/&quot; target=_blank&gt;Encrypted incremental backups with &lt;code&gt;duplicity(1)&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.sanctum.geek.nz/linux-crypto-disks/&quot; target=_blank&gt;Encrypted USB drives with LUKS&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.sanctum.geek.nz/linux-crypto-importance/&quot; target=_blank&gt;The importance of cryptography and its wide use&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt; 
    </content:encoded>

    <pubDate>Tue, 08 Jul 2014 16:17:55 +0000</pubDate>
    <guid isPermaLink="false">http://blog.raymond.burkholder.net/index.php?/archives/582-guid.html</guid>
    
</item>
<item>
    <title>Securing Passwords</title>
    <link>http://blog.raymond.burkholder.net/index.php?/archives/540-Securing-Passwords.html</link>
            <category>Cryptography</category>
    
    <comments>http://blog.raymond.burkholder.net/index.php?/archives/540-Securing-Passwords.html#comments</comments>
    <wfw:comment>http://blog.raymond.burkholder.net/wfwcomment.php?cid=540</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.raymond.burkholder.net/rss.php?version=2.0&amp;type=comments&amp;cid=540</wfw:commentRss>
    

    <author>nospam@example.com (Raymond P. Burkholder)</author>
    <content:encoded>
    &lt;p&gt;With the Snowden based revelations, people have become more aware of security and privacy.  The revelations have had extreme affects on some individuals.  I can name one for example:  PJ who runs/ran 
&lt;a href=&quot;http://www.groklaw.net&quot; target=_blank&gt;Groklaw&lt;/a&gt;.  

&lt;p&gt;I have been following the site since near it&#039;s inception, back when 
SCO was suing everything and everyone related to Unix.  Groklaw performed unparallelled research into the underpinnings of 
various maneuverings and cases around the subject.  Issues relating to privacy, for her personally, became front and center.  The fact that the internet and anything flowing through it was being analyzed in various ways caused PJ, for various personal reasons described in her farewall entry, to totally abandon Groklaw.

&lt;p&gt;It is sad that things came to this, particularly for a site as popular as Groklaw.

&lt;p&gt;For those of us still making use of the internet, we have to &#039;batten down the hatches&#039;.  With this heightened awareness of 
security, I have been spending more time with some cryptography lists and websites.  One site of immediate interest is  
&lt;a href=&quot;https://agilebits.com/&quot; target=_blank&gt;AgileBits&lt;/a&gt;, a group who produce multi-platform password management software.  While I&#039;m on the subject, &lt;a href=&quot;http://www.roboform.com/&quot; target=_blank&gt;RoboForm&lt;/a&gt; also produce password management software.

&lt;p&gt;Anyway, back to AgileBits.  The company has a blog website discussing password strength, especially for the master password, which
 protects your stored passwords.  One article in particular is good:  
&lt;a href=&quot;http://blog.agilebits.com/2011/06/21/toward-better-master-passwords/&quot; target=_blank&gt;Toward Better Master Passwords&lt;/a&gt;.
The weakness of traditional passwords is discussed.  And they offer a solution for creating stronger passwords.  One of the solutions 
they suggest is by making use of pass-phrases rather than passwords.  To assist with making randomized pass-phrases, 
&lt;a href=&quot;http://world.std.com/~reinhold/diceware.html&quot; target=_blank&gt;The Diceware Passphrase Home Page&lt;/a&gt; is suggested as a 
resource.

&lt;p&gt;The basic technique makes use a random word list and five dice.  The dice are rolled to to choose random words from a list.  You then use the random words as your pass-phrase.  There are additional techniques discussed to make the pass-phrase even stronger if so desired.

&lt;p&gt;The weakness behind this strong password is that one&#039;s computer could be compromised with a keyboard sentinel.  Working around that issue would be the subject of another article. 
    </content:encoded>

    <pubDate>Sun, 22 Sep 2013 17:21:31 +0000</pubDate>
    <guid isPermaLink="false">http://blog.raymond.burkholder.net/index.php?/archives/540-guid.html</guid>
    
</item>

</channel>
</rss>
