Skip to content

Instantly share code, notes, and snippets.

View bermannoah's full-sized avatar

Noah Berman bermannoah

View GitHub Profile

Cryptographic Best Practices

Putting cryptographic primitives together is a lot like putting a jigsaw puzzle together, where all the pieces are cut exactly the same way, but there is only one correct solution. Thankfully, there are some projects out there that are working hard to make sure developers are getting it right.

The following advice comes from years of research from leading security researchers, developers, and cryptographers. This Gist was [forked from Thomas Ptacek's Gist][1] to be more readable. Additions have been added from

@bermannoah
bermannoah / keybase.md
Created September 22, 2021 08:37
connect github to work keybase

Keybase proof

I hereby claim:

  • I am bermannoah on github.
  • I am nb_cookpad (https://keybase.io/nb_cookpad) on keybase.
  • I have a public key ASBNOaqH9w6Be1ZeEnB6qWDEY6RBzYVYjIn71YBxuFfhxgo

To claim this, I am signing this object:

@bermannoah
bermannoah / rails_setup.md
Last active March 20, 2017 03:49 — forked from ryanflach/rails_setup.md
Common setup for a new Rails project
  1. rails new <project_name> -d postgresql --skip-turbolinks --skip-spring -T
  • -d postgresql sets up the project to use PostgreSQL
  • --skip-turbolinks & --skip-spring creates a project that does not use turbolinks or spring
  • -T skips the creation of the test directory and use of Test::Unit
  1. In the Gemfile:
  • Available to all environments:
    • gem 'figaro' - store environment variables securely across your app (docs)
    • Uncomment gem 'bcrypt', '~> 3.1.7' if you will be hosting your own user accounts with passwords (docs)
  • Inside of group :test:
    • gem 'rspec-rails' - user rspec in place of minitest (docs)
@bermannoah
bermannoah / Pahlka Posse Friday 12.16 Spike.md
Last active December 15, 2016 20:07
setup instructions for Pahlka's Friday 12.16 Spike session

Pahlka Posse Building an API (Friday Spike)

Hello and welcome to Pahlka Posse's Friday Spike!

You will need:

  • you have ruby and also rails installed, right? right? Reach out to Noah (@noah) or Ali (@ali.schlereth) on slack if you don't. At the very least you'll need these things installed before the session.

  • to clone down our repo: git clone git@github.com:Turing-Pahlka-Posse/Edualize.git

  • cd into the directory -- cd Edualize

Keybase proof

I hereby claim:

  • I am bermannoah on github.
  • I am ofmistakes (https://keybase.io/ofmistakes) on keybase.
  • I have a public key whose fingerprint is 60CA 0052 C5BA A08A 886E A777 9958 955A FF91 0E75

To claim this, I am signing this object:

@bermannoah
bermannoah / prework.md
Last active August 11, 2016 13:15 — forked from mbburch/prework.md
Noah Berman's Turing School Prework Gist