Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!
openssl genrsa -des3 -out rootCA.key 4096
var fs = require('fs'); | |
module.exports.load = function(options) { | |
options = options || {}; | |
var basePath = options.basePath || './config'; | |
var env = options.env || 'development'; |
root = true | |
[*.{js,ts,json,html,css,scss,less,md,gitignore,editorconfig}] | |
indent_style = space | |
indent_size = 4 | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true |
# Eclipse | |
.classpath | |
.project | |
.settings/ | |
# Intellij | |
.idea/ | |
*.iml | |
*.iws |
List some crypto libraries for JavaScript out there. Might be a bit out dated. Scroll to the bottom.
http://www.w3.org/TR/WebCryptoAPI/
This specification describes a JavaScript API for performing basic cryptographic operations in web applications, such as hashing, signature generation and verification, and encryption and decryption. Additionally, it describes an API for applications to generate and/or manage the keying material necessary to perform these operations. Uses for this API range from user or service authentication, document or code signing, and the confidentiality and integrity of communications.
#!/bin/sh | |
(cat <<-SRC | |
# default repo | |
deb http://ftp.de.debian.org/debian/ wheezy main contrib non-free | |
deb-src http://ftp.de.debian.org/debian/ wheezy main contrib non-free | |
# security updates | |
deb http://security.debian.org/ wheezy/updates main contrib non-free | |
deb-src http://security.debian.org/ wheezy/updates main contrib non-free |