Fix: Transmit secret using POST method

This ensures bigger payloads can be used as secrets

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-08-22 20:21:39 +02:00
parent 8392561125
commit a5ca9d248e
No known key found for this signature in database
GPG Key ID: DC2729FDD34BE99E
3 changed files with 64 additions and 60 deletions

120
assets.go
View File

@ -123,27 +123,28 @@ var _bindataFrontendApplicationcoffee = []byte(
"\xf4\xe2\xac\xa3\x47\xc3\x28\x13\x92\x07\xd4\xe2\x93\x65\x1a\x19\x0d\xa3\x47\x56\x04\x21\xf1\x96\xfd\x38\x17\xcc" + "\xf4\xe2\xac\xa3\x47\xc3\x28\x13\x92\x07\xd4\xe2\x93\x65\x1a\x19\x0d\xa3\x47\x56\x04\x21\xf1\x96\xfd\x38\x17\xcc" +
"\xe6\x91\x66\x92\xab\x45\x10\x46\x56\xdd\x58\x2d\xe4\x3c\xf8\xf3\xef\x30\x32\x65\x62\xfc\xe9\x24\xec\x06\xfd\x20" + "\xe6\x91\x66\x92\xab\x45\x10\x46\x56\xdd\x58\x2d\xe4\x3c\xf8\xf3\xef\x30\x32\x65\x62\xfc\xe9\x24\xec\x06\xfd\x20" +
"\x92\x04\xb5\x30\xf9\xbf\xef\x6e\x22\x94\x69\xe0\x91\xc9\xc0\x79\x15\xef\x20\x62\xf7\xec\x09\x28\x5b\x8a\x23\xff" + "\x92\x04\xb5\x30\xf9\xbf\xef\x6e\x22\x94\x69\xe0\x91\xc9\xc0\x79\x15\xef\x20\x62\xf7\xec\x09\x28\x5b\x8a\x23\xff" +
"\x18\x3a\x21\x00\x00\x9c\x59\x36\xab\x7e\x35\x9e\x67\xf5\x77\x0b\x7f\xfe\xb1\xc4\x19\x8c\xee\x8d\x92\xa3\x4a\x68" + "\x18\x3a\x21\x00\x00\x0b\xb4\xb9\xe2\x33\x18\x2d\x95\xb1\xa3\x4a\xc4\x99\x65\xb3\xea\x57\x13\x6c\x56\x7f\xb7\xf0" +
"\x2c\xb3\xa5\x39\x53\x1c\x1b\xcb\x93\xe9\x71\x63\xe6\x53\xc0\x6b\xe0\x74\x3a\x9d\x81\x51\x0b\xb4\xb9\x90\xf3\x2f" + "\xe7\x1f\x4b\x9c\xc1\xe8\xde\x28\xe9\x6d\x8c\x65\xb6\x34\x67\x8a\x63\x63\x79\x32\x3d\x6e\xcc\x7c\x56\x78\x0d\x9c" +
"\x5a\xc9\x79\x8d\xfc\xf5\x26\x72\x3a\x3d\x9d\xb5\x29\xf6\x9f\x31\x5c\xa8\xf4\x01\x32\xa5\x41\x48\x8b\x3a\x63\x29" + "\x4e\xa7\x33\x30\xca\x05\x16\x72\xfe\x45\x2b\x39\xaf\x91\xbf\xde\x44\x4e\xa7\xa7\xb3\x36\xeb\xfe\x33\x86\x0b\x95" +
"\x82\x45\x63\x45\x6b\x05\x5b\xe3\x6f\xe4\xdf\x04\x9f\x01\xcd\x94\x4a\x98\xa6\x2e\x25\x19\x2b\x0c\x12\xe2\x5e\x78" + "\x3e\x40\xa6\x34\x08\x69\x51\x67\x2c\x45\xb0\x68\xac\x68\xad\x60\x6b\xfc\x8d\xfc\x9b\xe0\x33\xa0\x99\x52\x09\xd3" +
"\xa9\xec\x7b\x55\x4a\xde\x29\xad\xab\xa8\x54\x36\x73\x62\x1a\x46\x26\x57\x2b\x57\xb9\x9c\x99\xfc\x5c\xb1\xae\xa6" + "\xd4\x65\x29\x63\x85\x41\x42\xdc\x0b\x2f\x95\x7d\xaf\x4a\xc9\x3b\xd5\x76\x45\x96\xca\x66\x4e\x4c\xc3\xc8\xe4\x6a" +
"\x13\x41\x0c\x2b\x21\xb9\x5a\x45\x85\x4a\x99\x15\x4a\x46\x4e\x4c\x00\x44\x56\x29\x44\x05\xca\xb9\xcd\x21\x8e\x61" + "\xe5\x8a\x99\x33\x93\x9f\x2b\xd6\xd5\x74\x22\x88\x61\x25\x24\x57\xab\xa8\x50\x29\xb3\x42\xc9\xc8\x89\x09\x80\xc8" +
"\x5a\x5d\x4d\xa3\x2d\xb5\x24\x75\xa4\x94\x69\x7e\x89\xab\x96\x38\xb9\xe0\x18\x84\x1d\xd0\x23\xb7\xd7\xe7\x43\xb0" + "\x2a\x85\xa8\x40\x39\xb7\x39\xc4\x31\x4c\xab\xab\x69\xb4\xa5\x96\xa4\x8e\x94\x32\xcd\x2f\x71\xd5\x72\x29\x17\x1c" +
"\x73\xc7\x9e\xbc\xcd\xec\xca\x65\x76\x9b\xcb\x6b\x64\xb5\xdb\x2b\x8d\x9d\x27\x6a\xfc\x5e\xa2\xb1\xaf\xc8\xbe\xfb" + "\x83\xb0\x03\x7a\xe4\xf6\xfa\x7c\x08\x76\xee\xd8\x93\xb7\x99\x5d\xb9\xcc\x6e\x73\x79\x8d\xac\x76\x7b\xa5\xb1\xf3" +
"\x9d\x35\xca\x31\x55\x1c\x6f\xaf\x3f\x9d\xa9\xc5\x52\x49\x94\x36\x70\x48\xc5\xc1\x25\xd3\xd6\x40\xec\xf3\x61\x96" + "\x44\x8d\xdf\x4b\x34\xf6\x15\xff\x77\xbf\xb3\x46\x39\xa6\x8a\xe3\xed\xf5\xa7\x33\xb5\x58\x2a\x89\xd2\x06\x0e\xa9" +
"\x85\xb0\x40\x5f\xa8\xcf\x51\x85\x75\x92\x74\x52\x25\xa9\x76\x5a\x81\x5f\xa7\x77\xa4\xae\x66\xbf\x73\x3c\x7a\x7c" + "\x68\xb9\x64\xda\x1a\x88\x7d\x3e\xcc\xb2\x10\x16\xe8\x0b\xf5\x39\xaa\xb0\x4e\x92\x4e\xaa\x24\xd5\x4e\x2b\xf0\xeb" +
"\xe7\x42\x08\xde\xfa\x6f\x9b\xe6\x38\xdc\xf0\x7f\xe4\xf8\x3f\x47\x7b\x34\x7e\x16\x7c\x3d\x9a\xfc\x0a\xc7\x2b\x5a" + "\xf4\x8e\xd4\xd5\xec\x37\x93\x47\x8f\xef\x5c\x08\xc1\x5b\xff\x6d\x1f\x1d\x87\x9b\x96\x18\xb9\x96\x98\xa3\x3d\x1a" +
"\x76\xd9\xd2\x72\xdf\x11\x39\x57\xab\xff\x99\x65\x84\x08\x29\xec\x7f\x42\x72\x33\x20\xd3\x96\xf1\x90\x08\xc9\x81" + "\x3f\x0b\xbe\x1e\x4d\x7e\x85\xe3\x15\x2d\xbb\x6c\x69\xb9\xef\x88\x9c\xab\xd5\xff\xcc\x32\x42\x84\x14\xf6\x3f\x21" +
"\x9a\x32\x59\x08\x4b\x27\xd0\x1d\x32\x4d\x75\x1b\x4e\x4c\x20\x92\xec\x31\x61\xfa\x30\x71\x43\xa2\x35\x4e\x0b\x91" + "\xb9\x19\x90\x69\xcb\xc4\x48\x84\xe4\x40\x4d\x99\x2c\x84\xa5\x13\xe8\xce\x9d\xa6\xba\x0d\x27\x26\x10\x49\xf6\x98" +
"\x3e\xd0\x09\xb4\x8a\x95\xa1\xaf\x51\xa3\xe3\xf2\x91\xe6\x4c\xce\x91\x4e\xa0\x21\x70\x1d\x40\xe3\x23\xb2\x62\x70" + "\x30\x7d\x98\xb8\xb9\xd1\x1a\xa7\x85\x48\x1f\xe8\x04\x5a\xc5\xca\xd0\xd7\xa8\xd1\x71\xf9\x48\x73\x26\xe7\x48\x27" +
"\xa3\xc6\x69\x8f\x09\x84\xb4\x31\x3a\x2f\xdb\xd0\x40\x63\x06\x71\xff\xec\x8b\x1c\xd0\x31\x0d\x7d\xf5\xea\x96\xeb" + "\xd0\x10\xb8\x0e\xa0\xf1\x11\x59\x31\xb8\x51\xe3\xb4\xc7\x04\x42\xda\x18\x9d\x97\x6d\x68\xa0\x31\x83\xb8\x7f\xf6" +
"\x35\xaa\x73\xe6\xb2\xda\x1b\xa9\x1f\x6b\x36\x31\xcb\xa2\xb6\x7d\x3d\x53\x06\xf5\xff\xa3\x1e\xd1\x9b\x46\xaf\x6d" + "\x45\x0e\xe8\x98\x86\xbe\x7a\x75\xcb\xf5\x1a\xd5\x39\x73\x59\xed\x4d\xd9\x8f\x35\x9b\x98\x65\x51\xdb\xbe\x9e\x29" +
"\x47\xe3\xe7\xcd\x79\xfd\x52\x9d\x3a\x86\x6b\x57\xe6\x52\x17\x5e\x73\xc7\xb5\xd7\xe3\x9e\xa3\xd1\xde\x2d\x3b\xec" + "\x83\xfa\xff\x51\x4f\xed\x4d\xa3\xd7\xb6\xa3\xf1\xf3\xe6\xbc\x7e\xa9\x4e\x1d\xc3\xb5\x2b\x73\xa9\x0b\xaf\xb9\xe3" +
"\xaf\x9d\x3d\x5d\x37\xdf\x76\xd0\xaf\x11\x21\x97\xa5\xf5\x3b\xc4\x5d\x7c\x2f\xdd\x4c\xa5\xa5\xd9\xd3\xaf\xc1\x02" + "\xda\xeb\x71\xcf\xd1\x68\xef\x96\x1d\xf6\xd7\xce\x9e\xae\x9b\x6f\x3b\xe8\x37\x8b\x90\xcb\xd2\xfa\xb5\xe2\x2e\xbe" +
"\x53\xfb\xc6\x7a\xf2\x6b\xb0\x61\xf9\xd6\x9a\x41\x0c\xdd\x82\xed\x59\xad\xe1\x1e\xe3\xb8\x7b\x8f\xfd\x26\xc3\x72" + "\x97\x6e\xa6\xd2\xd2\xec\xe9\xd7\x60\x81\xa9\x7d\x63\x63\xf9\xcd\xd8\xb0\x7c\x6b\xcd\x20\x86\x6e\xc1\xf6\xac\xd6" +
"\x87\xc2\xb6\x6a\xf6\xd0\x6d\xff\x0a\x9a\x9d\x4b\xfa\x1b\x71\x30\x43\x5e\xdd\xb3\x99\xd9\xe4\xc0\x2b\xb5\xc3\xa7" + "\x70\xb5\x71\xdc\xbd\xda\x7e\x93\x61\xb9\x43\x61\x5b\x35\x7b\xe8\xb6\x3f\x0a\xcd\xce\x25\xfd\x8d\x38\x98\x21\xaf" +
"\x8a\xde\xf4\x7a\x10\x92\x9f\x01\x00\x00\xff\xff\xc9\x6a\xfe\xbb\xd8\x08\x00\x00") "\xee\xd9\xcc\x6c\x72\xe0\x95\xda\xe1\x53\x45\x6f\x7a\x3d\x08\xc9\xcf\x00\x00\x00\xff\xff\x68\x64\x72\x7a\xeb\x08" +
"\x00\x00")
func bindataFrontendApplicationcoffeeBytes() ([]byte, error) { func bindataFrontendApplicationcoffeeBytes() ([]byte, error) {
return bindataRead( return bindataRead(
@ -162,8 +163,8 @@ func bindataFrontendApplicationcoffee() (*asset, error) {
info := bindataFileInfo{ info := bindataFileInfo{
name: "frontend/application.coffee", name: "frontend/application.coffee",
size: 2264, size: 2283,
md5checksum: "cc7e1ff80de04958450e072085bd2951", md5checksum: "4e6d54f11cf5a9a1e043bfbdbff77567",
mode: os.FileMode(436), mode: os.FileMode(436),
modTime: time.Unix(1, 0), modTime: time.Unix(1, 0),
} }
@ -174,40 +175,41 @@ func bindataFrontendApplicationcoffee() (*asset, error) {
} }
var _bindataFrontendApplicationjs = []byte( var _bindataFrontendApplicationjs = []byte(
"\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\x56\x5f\x6f\xdb\x36\x10\x7f\xf7\xa7\xe0\x1a\x03\x92\x00\x8d\x76\xd2" + "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\x56\x4d\x8f\xdb\x36\x13\xbe\xfb\x57\xcc\xbb\x6b\x40\x12\xa0\x97\xf6" +
"\x6c\x0f\x36\xf4\xb0\x79\x5b\x3b\xa0\x2d\x8a\x64\xc5\x1e\x86\x62\xa6\xc4\x93\xc5\x56\x26\x3d\x92\x8a\x5b\xa4\xfe" + "\x6e\xb6\x3d\xd8\xf0\xa1\x75\xdb\xa4\x40\x12\x04\xbb\x0d\x7a\x28\x82\x9a\x16\x47\x16\x13\x99\x74\x49\x6a\x9d\x60" +
"\xee\x03\x45\x51\xa2\x68\x3b\x7f\x9e\x9a\x17\xe7\x74\xc7\x3b\xde\xdd\xef\x7e\xbc\xd9\x0c\xbd\x02\x0e\x92\x68\xa0" + "\xe3\xff\x5e\x50\xd4\x07\x45\xdb\xfb\x71\xea\x5e\xbc\xd4\x3c\x9c\x21\x67\x9e\x79\x38\x93\x09\xbc\x46\x81\x8a\x1a" +
"\x28\xff\x8a\x56\xa2\x2c\x01\x6e\x0b\xc9\x76\x1a\x5d\xe1\x97\x78\x3e\x89\xcb\x86\x17\x9a\x09\x1e\x27\xe8\x7e\x82" + "\x64\xb0\xfe\x06\x4b\x99\xe7\x88\x77\x99\xe2\x3b\x03\xd7\xe4\x15\xb9\x1a\xc5\x79\x25\x32\xc3\xa5\x88\x13\x78\x18" +
"\xd0\x1d\x91\xa8\x90\x40\x34\xdc\x42\x21\x41\xa7\x88\x12\x4d\xde\x09\xfd\x87\x68\x38\x4d\x51\x45\x54\xf5\x46\x10" + "\x01\xdc\x53\x05\x99\x42\x6a\xf0\x0e\x33\x85\x26\x05\x46\x0d\x7d\x2f\xcd\x6f\xb2\x12\x2c\x85\x82\xea\xe2\xad\xa4" +
"\x9a\x22\xc6\x99\xfe\x95\x71\xaa\x52\xc4\x61\xef\xac\x25\xfc\xd7\x80\xd2\x4e\x54\xed\xef\xaa\x75\x48\x5b\xb1\x91" + "\x2c\x05\x2e\xb8\xf9\x99\x0b\xa6\x53\x10\xb8\x6f\xd1\x0a\xff\xa9\x50\x9b\x76\xa9\xeb\xdf\x65\xed\x90\xd5\xcb\x4a" +
"\xf0\x9e\x28\xb5\x17\xd2\xc8\x95\xd8\xff\x46\x34\x49\x91\x12\x5b\xd0\x15\xe3\x9b\xbf\xa5\xe0\x9b\xe5\x64\x82\x02" + "\xe1\x07\xaa\xf5\x5e\x2a\xbb\x2e\xe4\xfe\x17\x6a\x68\x0a\x5a\x6e\xd1\x14\x5c\x6c\xfe\x54\x52\x6c\xe6\xa3\x11\x04" +
"\x63\x94\x21\xde\xd4\x75\xab\xf1\x2f\x88\x32\x14\xa4\x60\x93\xb0\x91\x97\xad\xac\x9c\xe5\x34\x8e\x2e\x4a\x21\xb7" + "\x60\x58\x80\xa8\xca\xb2\xb6\xf8\x07\x84\x05\x04\x57\x70\x97\x70\x91\xe7\xf5\x5a\xb7\xc8\x71\x1c\x5d\xe6\x52\x6d" +
"\x2b\xcf\x41\x94\xe0\x92\x71\x1a\x47\x1a\xbe\x68\x22\x81\x44\x09\xbe\x23\x75\x9c\xf4\x67\xc7\xb7\x78\x4b\x74\x85" + "\x97\x9e\x83\x28\x21\x39\x17\x2c\x8e\x0c\x7e\x35\x54\x21\x8d\x12\x72\x4f\xcb\x38\xe9\xf6\x0e\x4f\xf1\x8e\x9a\x82" +
"\x25\xe1\x54\x6c\xe3\x04\x6b\x71\xab\x25\xe3\x9b\xf8\xe5\xcf\x09\x56\x4d\xae\xac\x74\x95\x04\x91\x5f\xb1\x3c\x07" + "\x28\x2a\x98\xdc\xc6\x09\x31\xf2\xce\x28\x2e\x36\xf1\xab\x1f\x13\xa2\xab\xb5\x76\xab\xeb\x24\x88\xfc\x9a\xaf\xd7" +
"\xc9\x54\xf5\xcb\xef\xb7\x18\x78\x11\xab\xa1\x42\x9e\xff\xee\xd8\x14\x93\x4f\xe4\x4b\x1c\x91\x1d\x9b\xd9\x64\xa3" + "\xa8\xb8\x2e\x7e\xfa\xf5\x8e\xa0\xc8\x62\xdd\x67\xc8\xf3\xdf\x6c\x1b\x13\xfa\x99\x7e\x8d\x23\xba\xe3\x13\x77\xd9" +
"\xb4\xcb\x0d\xb5\x0d\x59\xf4\x92\x8b\xb1\xe8\x7e\xbb\xcf\x87\xd4\xb3\xfe\xeb\xeb\x0e\x16\xe8\xc5\x27\x25\xf8\x0b" + "\x28\x6d\xee\x06\x60\x13\x25\xd9\x0c\x2e\x76\x52\x9b\x8b\xb4\xf9\x6a\xcb\x34\xeb\x30\x6d\xe4\x59\xf3\xdb\x7c\x3e" +
"\xf7\x5d\x69\xa2\x1b\xb5\x12\x14\x7c\x5f\x57\xf3\xcb\x45\xd0\xb4\x5e\x77\x3d\x9f\x2f\x82\x3e\x0d\xca\x9f\x1e\x52" + "\xf8\xe8\x3f\xbe\xed\x70\x06\x17\x9f\xb5\x14\x9d\x17\x6d\xa8\xa9\xf4\x52\x32\xf4\x7d\x5d\x4f\xaf\x66\x41\x29\x3b" +
"\x5e\xcf\xaf\x17\xc7\x5d\xb2\x7f\xb3\x19\x7a\x2b\x8a\xcf\xa8\x14\x12\x31\xae\x41\x96\xa4\x00\xa4\x41\x69\xc6\x37" + "\xdb\xcd\x74\x3a\x0b\xaa\xd7\x1b\x7f\x78\xcc\x78\x33\xbd\x99\x1d\xd7\xce\xfd\x4d\x26\xf0\x4e\x66\x5f\x20\x97\x0a" +
"\x9e\x9d\x04\xdd\x48\x3e\xbe\x5b\xec\x3b\x72\x85\xf8\x97\xd1\x05\x8a\x4a\x21\x72\x22\x23\x4f\x7f\xe8\x6a\xdb\xfe" + "\xb8\x30\xa8\x72\x9a\x21\x18\xd4\x86\x8b\x8d\x87\x53\x68\x2a\x25\x86\x67\x8b\x7d\x47\x6d\x22\xfe\xe6\x6c\x06\x51" +
"\x3f\xf1\x7f\x9d\xa6\x0b\x51\x92\x5a\x81\xf9\x72\x68\xc1\xe6\xe3\xff\x14\xd8\xba\x53\x06\x5a\x5c\xe8\xd2\x98\x45" + "\x2e\xe5\x9a\xaa\xc8\xb3\x1f\x9a\x8c\xd7\xff\x8f\xfc\xdf\xd6\xd2\x84\xc8\x69\xa9\xd1\x7e\x39\xd4\x14\xf4\xbb\xe2" +
"\x09\x36\xc8\xb6\x10\xb2\x5e\xdc\xdc\x9c\x83\xab\xd1\xdb\x5b\x98\xff\x50\x86\xf6\x8c\x53\xb1\xc7\xb5\x28\x88\x31" + "\x14\x05\x9b\x5d\x96\x70\x42\x9a\xdc\xc2\xa2\x84\x58\xbe\x3b\x62\x39\x2f\x6d\x37\x9d\x23\xb1\xb5\xbb\x53\xd8\xff" +
"\xc6\x83\x01\x2b\x51\x6c\x24\x5c\x03\xdf\xe8\x0a\x65\x59\x86\xe6\x43\x51\xed\x7d\xac\xa9\xcd\xcf\x5c\xad\x20\x92" + "\x60\x01\x7b\x2e\x98\xdc\x93\x52\x66\xd4\x82\x49\x0f\xe0\x39\xc4\x76\x45\x4a\x14\x1b\x53\xc0\x62\xb1\x80\x69\x9f" +
"\xbe\x73\x63\x1a\x25\xb8\x62\x14\x1c\xc4\x9d\xde\x2a\x3f\xdc\xbc\x39\xa1\xf7\x52\x0b\x55\x7d\xd7\xf7\xa6\xeb\x81" + "\x54\x77\x1e\x07\x75\xf7\xb3\x47\xcb\xa8\x62\xef\xdb\xe6\x8d\x12\x52\x70\x86\x2d\xf1\x5b\xbb\x33\x7e\xbc\x7d\x7b" +
"\x81\x57\x1d\x13\xe2\x06\x48\x17\xe6\xbd\x84\x13\x65\x1a\xd1\xc7\x43\xb5\x4a\x11\xa3\x29\xda\x11\xa9\xd5\x13\xcb" + "\xc2\xee\x5d\x2d\x34\x75\x55\xdf\xdb\xaa\x07\x00\x2f\x3b\x36\xc4\x2d\xd2\x26\xcc\x07\x85\x27\xd2\x34\x10\x95\xc7" +
"\xd6\x19\x50\x28\x04\x85\x0f\x37\x7f\xae\xc4\x76\x27\x38\x70\xdd\x16\xb3\xbb\x6e\xeb\x10\x65\xad\x31\x56\xbb\x9a" + "\x72\x95\x02\x67\x29\xec\xa8\x32\xfa\x99\x69\x6b\x00\x0c\x33\xc9\xf0\xe3\xed\xef\x4b\xb9\xdd\x49\x81\xc2\xd4\xc9" +
"\xe9\x38\xfa\x16\x25\x43\xe1\x5b\x03\xbf\xf2\x57\x43\xe5\xbb\x08\xad\xc9\x3f\xf3\x8f\x0e\x6e\x47\x0c\x62\x0d\x2e" + "\x6c\x8e\x5b\x3b\x84\x45\x0d\x26\x7a\x57\x72\x13\x47\xdf\xa3\xa4\x4f\x7c\x0d\xf0\x33\x7f\xdd\x67\xbe\x89\x50\x43" +
"\x3f\xfa\x3d\x62\xb4\x8f\xda\x93\xc8\x65\x50\x43\x4b\x0a\x6b\x43\x0a\x1b\xd0\xb3\xe9\x3d\xa3\x87\xf5\x98\x17\x9e" + "\xfe\x9a\x7e\x6a\xe9\x76\xa4\x2b\x0e\x70\xf5\xc9\xaf\x11\x67\x5d\xd4\x4e\x5a\xae\x82\x1c\x3a\xa9\x58\x59\xa9\xd8" +
"\x3e\xe9\xed\x4c\x8e\xb8\xdd\x23\x01\x33\xcb\x1d\x35\x9f\x98\x14\xdb\xaa\x9e\xff\x4f\xb5\xe9\x0c\xd1\xe6\x2d\xd1" + "\xa0\x99\x8c\x1f\x38\x3b\xac\x7a\xb5\x78\x59\xa7\xd7\x3d\x39\x50\x7c\x4f\x04\x6c\x2f\x37\x82\x7d\xa2\x53\x5c\xa9" +
"\xaa\x26\xdf\x32\x1d\xa5\x23\x1e\xf7\xb1\x36\x3c\x27\x98\x93\xbb\x9c\xc8\x1f\x73\x43\xb8\xbd\x83\xa2\x66\xc5\xe7" + "\xba\x57\xe1\x54\x99\xce\xc8\xef\xba\x96\x5f\x5d\xad\xb7\xdc\x44\xe9\x40\xdd\x7d\xae\xf5\x8f\x0c\x11\xf4\x7e\x4d" +
"\xc8\x7b\x77\xfa\xc3\xb6\xfd\xce\xce\xd4\xb3\xa8\x08\xdf\x18\xfa\x74\x13\x78\x0c\x4c\x09\x77\x40\xea\xe0\x92\x2e" + "\xd5\xff\xd7\x56\x86\x3b\x07\x59\xc9\xb3\x2f\x91\xf7\x1a\x75\x9b\x5d\xf9\x5b\x9c\xcd\x67\x56\x50\xb1\xb1\xa2\xda" +
"\xc6\x08\x91\x5e\xfa\x7d\xec\x53\xe9\x0f\xf0\x93\x50\xa2\x6c\x2c\x3b\x5c\x5d\x44\x49\x8f\x92\xd3\xd4\x33\x22\x3b" + "\x76\xe0\x31\x31\x15\xde\x23\x2d\x83\x43\xb6\x31\x06\x8c\xf4\xae\xdf\xc5\x3e\x75\xfd\x9e\x7e\x0a\x73\x58\x0c\xd7" +
"\x3f\x8e\xe9\xdb\xf1\x63\xf7\xba\x9d\x8b\x46\xd6\xfe\xdb\xf3\xba\x83\x3d\xd1\x04\xf7\x04\x39\xe0\x39\x00\xe7\x0f" + "\x2d\xaf\x2e\xa3\xa4\x63\xc9\x69\xe9\x19\x88\x9d\x1f\xc7\xd6\xed\xf8\x09\x7c\x53\xf7\x45\xa5\x4a\xff\x45\x7a\xd3" +
"\x99\x7d\x66\x07\x50\x8f\xbc\xac\xa7\xf7\x83\x7c\xf8\xd6\x4a\xde\xf1\xc3\xda\x87\x74\x23\x6b\x7b\x24\x7e\x20\xfd" + "\xd0\x9e\x1a\x4a\x3a\x81\xec\xf9\x1c\x90\xf3\x7f\x0b\xf7\xf8\xf6\xa4\x1e\x78\x59\x8d\x1f\xfa\xf5\xe1\x7b\xbd\xf2" +
"\xe4\x70\x31\xf2\xb9\x5e\x3e\x8b\xb2\x42\x3e\x79\x8c\xd6\x06\xbe\x39\xad\xb7\x9b\x00\xe3\xbb\x46\x77\x6b\x40\x23" + "\xb6\x1f\x56\x3e\xa5\x2b\x55\xba\x2d\xf1\x23\xd7\x4f\x0e\x97\x03\x9f\xab\xf9\x8b\x24\x2b\xd4\x93\xa7\x64\xad\xd7" +
"\xeb\x27\xdb\x97\xa2\x68\xd4\xd3\xdd\x2b\xa8\xa1\xd0\x01\x53\x9e\xd9\x7a\x7a\x48\x74\x63\xf9\x38\x1a\x82\x05\xc4" + "\x9b\xd3\x76\x37\x1f\x70\xb1\xab\x4c\x33\x1c\x54\xaa\x7c\x36\x3e\x97\x59\xa5\x9f\xef\x5e\x63\x89\x99\x09\x94\xf2" +
"\x03\xc0\xb3\xbb\x1f\xee\x2f\x14\x1e\xd9\x5f\xbe\xff\xbb\xf3\x1c\x80\x0c\x36\x01\x42\xce\x3e\x5e\xe7\x76\x46\x15" + "\xcc\x2c\xd4\x51\xa2\x69\xcb\xa7\xd9\x10\x8c\x25\x1e\x01\x5e\x5c\xfd\x70\xaa\x61\xf8\xc4\x54\xf3\xdf\xbf\x3b\x2f" +
"\xb2\xc4\x78\x23\x7a\x64\x7d\x38\x4a\x28\x7c\x1d\xa7\xe1\xb6\xee\xb1\x70\x70\x67\xc7\x76\xdd\xf1\x64\x39\x99\x1c" + "\x21\x48\x8f\x09\x18\x72\xf6\xf1\x3a\x37\x49\xea\x50\x25\x86\x13\xd1\x13\xe3\xc3\xd1\x85\xc2\xd7\x71\x1c\xce\xf0" +
"\x12\x5c\x90\xba\x8e\x75\xc5\x54\xb2\x9c\xfc\x1f\x00\x00\xff\xff\x52\xff\x18\xf8\x1d\x0c\x00\x00") "\x9e\x0a\x07\x67\x6e\xd5\xae\xd9\x9e\xcc\x47\xa3\x43\x42\x32\x5a\x96\xb1\x29\xb8\x4e\xe6\xa3\x7f\x03\x00\x00\xff" +
"\xff\xa4\xa3\x7c\x30\x33\x0c\x00\x00")
func bindataFrontendApplicationjsBytes() ([]byte, error) { func bindataFrontendApplicationjsBytes() ([]byte, error) {
return bindataRead( return bindataRead(
@ -226,8 +228,8 @@ func bindataFrontendApplicationjs() (*asset, error) {
info := bindataFileInfo{ info := bindataFileInfo{
name: "frontend/application.js", name: "frontend/application.js",
size: 3101, size: 3123,
md5checksum: "acd3e0e8dd884df23ecfef6e90f0c719", md5checksum: "a895cc8789468230c10a6c020c6d3187",
mode: os.FileMode(436), mode: os.FileMode(436),
modTime: time.Unix(1, 0), modTime: time.Unix(1, 0),
} }

View File

@ -7,6 +7,7 @@ createSecret = () ->
secret = GibberishAES.enc(secret, securePassword) secret = GibberishAES.enc(secret, securePassword)
$.ajax 'api/create', $.ajax 'api/create',
method: "post"
data: data:
secret: secret secret: secret
dataType: "json" dataType: "json"

View File

@ -1,4 +1,4 @@
// Generated by CoffeeScript 2.3.0 // Generated by CoffeeScript 2.3.1
(function() { (function() {
var createSecret, dataNotFound, hashLoad, initBinds, newSecret, requestSecret, secretCreated, securePassword, showData, somethingWrong; var createSecret, dataNotFound, hashLoad, initBinds, newSecret, requestSecret, secretCreated, securePassword, showData, somethingWrong;
@ -10,6 +10,7 @@
securePassword = Math.random().toString(36).substring(2); securePassword = Math.random().toString(36).substring(2);
secret = GibberishAES.enc(secret, securePassword); secret = GibberishAES.enc(secret, securePassword);
$.ajax('api/create', { $.ajax('api/create', {
method: "post",
data: { data: {
secret: secret secret: secret
}, },