From 0b618a099c9a9d3fcef3daf26d78421fbc3a07b6 Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Wed, 12 Apr 2017 19:18:34 +0200 Subject: Add keybase.txt to prove identity --- public/.well-known/keybase.txt | 54 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 public/.well-known/keybase.txt diff --git a/public/.well-known/keybase.txt b/public/.well-known/keybase.txt new file mode 100644 index 0000000..7e11526 --- /dev/null +++ b/public/.well-known/keybase.txt @@ -0,0 +1,54 @@ +================================================================== +https://keybase.io/nloomans +-------------------------------------------------------------------- + +I hereby claim: + + * I am an admin of https://rooster.hetmml.nl + * I am nloomans (https://keybase.io/nloomans) on keybase. + * I have a public key ASCCV4aRFiMkEv7inJTf34RgxZ6IK0wQ-wTH2ZfSIu3OzAo + +To do so, I am signing this object: + +{ + "body": { + "key": { + "eldest_kid": "0101bbdb28841b169de6538a51d17ca94b30088ba2914e56fd19121eec05f7a389cc0a", + "host": "keybase.io", + "kid": "01208257869116232412fee29c94dfdf8460c59e882b4c10fb04c7d997d222edcecc0a", + "uid": "7a52ddabf92293dd59f8fbf3774ea319", + "username": "nloomans" + }, + "service": { + "hostname": "rooster.hetmml.nl", + "protocol": "https:" + }, + "type": "web_service_binding", + "version": 1 + }, + "client": { + "name": "keybase.io go client", + "version": "1.0.20" + }, + "ctime": 1492017398, + "expire_in": 504576000, + "merkle_root": { + "ctime": 1492017367, + "hash": "463e597079ce3829ccc1f1aa7b15533c0848f9e13cdb55407af490a87bf4ac1b2d64e8235518ada07d93003b889157b576aad02eda294ccd594dc0dcbf8862ef", + "seqno": 1015311 + }, + "prev": "36959cd282a98f651138068f8695b07480a016f02ba99a0acbde277e0cf4ca30", + "seqno": 19, + "tag": "signature" +} + +which yields the signature: + +hKRib2R5hqhkZXRhY2hlZMOpaGFzaF90eXBlCqNrZXnEIwEggleGkRYjJBL+4pyU39+EYMWeiCtMEPsEx9mX0iLtzswKp3BheWxvYWTFAvt7ImJv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d6YvcktLyKjaUaRg51BOWsyHmYQ+uxmZ2ZCUI6xZbbJ1SIAnWqvC6hzaWdfdHlwZSCkaGFzaIKkdHlwZQildmFsdWXEING7Z+BlY2sOTnQqQJo/PUBashy75VL9UU4tGIEvMXbco3RhZ80CAqd2ZXJzaW9uAQ== + +And finally, I am proving ownership of this host by posting or +appending to this document. + +View my publicly-auditable identity here: https://keybase.io/nloomans + +================================================================== -- cgit v1.1 From 27b4e7b47acbd1fa212db7f11b7b3b310193c009 Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Sat, 6 May 2017 12:57:16 +0200 Subject: Unicode. --- package.json | 1 + routes/meetingpointProxy.js | 12 +++++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index b1e56db..6bded05 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,7 @@ "express": "^4.13.4", "flexibility": "^2.0.1", "fuzzy": "^0.1.1", + "iconv-lite": "^0.4.17", "jade": "~1.11.0", "left-pad": "^1.1.1", "lodash": "^4.15.0", diff --git a/routes/meetingpointProxy.js b/routes/meetingpointProxy.js index b2b51c9..68f3fdf 100644 --- a/routes/meetingpointProxy.js +++ b/routes/meetingpointProxy.js @@ -1,16 +1,18 @@ -var express = require('express') -var router = express.Router() +const express = require('express') +const router = express.Router() const request = require('request') +const iconv = require('iconv-lite') -/* GET home page. */ router.get('/:url', function (req, res, next) { const url = `http://www.meetingpointmco.nl/${req.params.url}` - request(url, function (err, data) { + request(url, { encoding: null }, function (err, data) { if (err) { next(err) return } - res.status(data.statusCode).end(data.body) + + const utf8Body = iconv.decode(data.body, 'ISO-8859-1') + res.status(data.statusCode).end(utf8Body) }) }) -- cgit v1.1