top

Package securecookie encodes and decodes authenticated and optionally encrypted cookie values.

Secure cookies can't be forged, because their values are validated using HMAC. When encrypted, the content is also inaccessible to malicious eyes.

To use it, first create a new SecureCookie instance:

var hashKey = []byte("very-secret")
var blockKey = []byte("a-lot-secret")
var s = securecookie.New(hashKey, blockKey)

The hashKey is required, used to authenticate the cookie value using HMAC. It is recommended to use a key with 32 or 64 bytes.

The blockKey is optional, used to encrypt the cookie value -- set it to nil to not use encryption. If set, the length must correspond to the block size of the encryption algorithm. For AES, used by default, valid lengths are 16, 24, or 32 bytes to select AES-128, AES-192, or AES-256.

Strong keys can be created using the convenience function GenerateRandomKey().

Once a SecureCookie instance is set, use it to encode a cookie value:

func SetCookieHandler(w http.ResponseWriter, r *http.Request) {
	value := map[string]string{
		"foo": "bar",
	}
	if encoded, err := s.Encode("cookie-name", value); err == nil {
		cookie := &http.Cookie{
			Name:  "cookie-name",
			Value: encoded,
			Path:  "/",
		}
		http.SetCookie(w, cookie)
	}
}

Later, use the same SecureCookie instance to decode and validate a cookie value:

func ReadCookieHandler(w http.ResponseWriter, r *http.Request) {
	if cookie, err := r.Cookie("cookie-name"); err == nil {
		value := make(map[string]string)
		if err = s2.Decode("cookie-name", cookie.Value, &value); err == nil {
			fmt.Fprintf(w, "The value of foo is %q", value["foo"])
		}
	}
}

We stored a map[string]string, but secure cookies can hold any value that can be encoded using encoding/gob. To store custom types, they must be registered first using gob.Register(). For basic types this is not needed; it works out of the box.

Imported by 941 package(s)

  1. bitbucket.org/agrewal/butler
  2. bitbucket.org/jatone/gxsrf/stores
  3. bitbucket.org/kirkmcdonald/broken
  4. bitbucket.org/plimble/ace/session
  5. bitbucket.org/plimble/controller/session
  6. code.google.com/p/gorilla/sessions
  7. euphoria.io/heim/backend
  8. git.gitorious.org/trantor/trantor.git
  9. github.com/3d0c/tmp
  10. github.com/3d0c/tmp/utils
  11. github.com/4ydx/fofou
  12. github.com/710leo/Toruk/http/cookie
  13. github.com/AgFlow/redistore
  14. github.com/AlekSi/drone/server
  15. github.com/Alistanis/disguard
  16. github.com/ArturKlajnerok/go-samples/gorilla
  17. github.com/AscendTech4H/turtleauth/server
  18. github.com/AudreyLim/go-crud
  19. github.com/BattleBoats/backend/dao
  20. github.com/BattleBoats/backend/models
  21. github.com/BenPhegan/drone/remote/github
  22. github.com/BlakeMesdag/drone/plugin/remote/github
  23. github.com/BlakeMesdag/drone/plugin/remote/gitlab
  24. github.com/BlakeMesdag/drone/server/session
  25. github.com/BlueMasters/thymio-captain/api
  26. github.com/BnLCr/drone/remote/github
  27. github.com/BurntSushi/sqlsess
  28. github.com/ChrisRx/echo_template_tests
  29. github.com/CiscoCloud/drone/remote/github
  30. github.com/Compufreak345/redistore
  31. github.com/DHowett/ghostbin
  32. github.com/Datacom/drone/server/session
  33. github.com/Dataman-Cloud/drone/remote/github
  34. github.com/DeltaMMO/datastore-store
  35. github.com/Depado/ginAuth
  36. github.com/DualSpark/drone/plugin/remote/github
  37. github.com/DualSpark/drone/plugin/remote/gitlab
  38. github.com/DualSpark/drone/server/session
  39. github.com/DuoSRX/redistore
  40. github.com/EasternACM/Hub/login
  41. github.com/EnumApps/clustersqlstore
  42. github.com/EnumApps/sessions
  43. github.com/EricChiang/oidc/oidcproxy
  44. github.com/EricLagerg/pnwconference/auth
  45. github.com/FabianWe/goauth
  46. github.com/FabianWe/mailwebadmin
  47. github.com/Ferguzz/strava-prchecker
  48. github.com/Forestmb/power-league
  49. github.com/FraBle/SocialVibes-AppEngine/socialvibes/handler
  50. github.com/FraBle/gochat/handler
  51. github.com/FraBle/piledroid/handler
  52. github.com/FraBle/sparkdo
  53. github.com/G-pu/securecookie/fuzz
  54. github.com/G-pu/sessions
  55. github.com/GerardSoleCa/PubKeyManager/server
  56. github.com/GoIncremental/negroni-sessions/dalstore
  57. github.com/GoIncremental/negroni-sessions/mongostore
  58. github.com/GopherGala/card_sharp/config
  59. github.com/GopherGala/card_sharp/lobby
  60. github.com/GwynethLlewelyn/gobot
  61. github.com/HinaKaze/FRGMWebServer
  62. github.com/Hokutosei/newsAggregator/modules/security
  63. github.com/Iceyer/gutils/session
  64. github.com/Ishukone/codetainer
  65. github.com/JNPRAutomate/LogBuddy
  66. github.com/Jackong/morning-dairy/service
  67. github.com/JoergReinhardt/gorilla/sessions
  68. github.com/JonahBraun/gorilla_keys
  69. github.com/KNQ/oauthmw
  70. github.com/KNQ/sessionmw
  71. github.com/Klouds/klouds/controllers
  72. github.com/LeKovr/elsa-auth/psw
  73. github.com/LeKovr/elsa-auth/sms
  74. github.com/Lealen/mysqlstore
  75. github.com/Luzifer/gobuilder
  76. github.com/MJDSys/boltstore/store
  77. github.com/MJDSys/eimbu/backend
  78. github.com/Machiel/mysqlstore
  79. github.com/Manwe23/TheGame/packages/src/github.com/gorilla/sessions
  80. github.com/MerlinDMC/drone/server/session
  81. github.com/MetalMatze/drone/server
  82. github.com/MikeyRobby/CIT-90-DATA-DRIVEN-WEBSITES-2015-FALL/00_SVCC/GorillaSecure
  83. github.com/MorpheusXAUT/eveauth/session
  84. github.com/MorpheusXAUT/evepos/session
  85. github.com/MorpheusXAUT/lootsheeter
  86. github.com/MorpheusXAUT/redistore
  87. github.com/Mparaiso/gonews/core
  88. github.com/MrDustpan/go-samples/testy
  89. github.com/My-Sign/HappyNgine
  90. github.com/Norbell/drone/server
  91. github.com/NyaaPantsu/nyaa/utils/cookies
  92. github.com/NyaaPantsu/nyaa/utils/email
  93. github.com/OVYA/sessions
  94. github.com/OlafRadicke/journey/authentication
  95. github.com/Omustardo/sessions
  96. github.com/OpenDriversLog/redistore
  97. github.com/Orbittman/timeoff/authentication
  98. github.com/Ozzadar/klouds-orig/controllers
  99. github.com/PhilmacFLy/nerdorder
  100. github.com/Pitt-CSC/icarus-backend/auth
  101. github.com/PuerkitoBio/csrf
  102. github.com/PuerkitoBio/ghost/handlers
  103. github.com/Pursuit92/adnebulae/an-server
  104. github.com/Putoke/Inetproj/controllers
  105. github.com/Raggaer/castro
  106. github.com/Raggaer/castro/app/util
  107. github.com/SAP/goauth-handlers/cookie
  108. github.com/SaiCharanMahadevan/HackerNewsClientBackend
  109. github.com/SaiCharanMahadevan/HackerNewsClient_Backend
  110. github.com/Snorlock/sessions
  111. github.com/StableLib/gorilla-sessions
  112. github.com/SunspotsEU/rethinkstore
  113. github.com/SvenDowideit/codetainer
  114. github.com/Symantec/Go-kexec
  115. github.com/Term1nal/kittens
  116. github.com/TheOnly92/morioka/infrastructure
  117. github.com/Tobscher/drone/plugin/remote/github
  118. github.com/Tobscher/drone/plugin/remote/gitlab
  119. github.com/URXtech/drone/remote/github
  120. github.com/Victorystick/authprox
  121. github.com/Wayt/HappyNgine
  122. github.com/WithGJR/song-finder/server
  123. github.com/Wombats/wombat-server
  124. github.com/Xenograph/sessions
  125. github.com/ZacharyJacobCollins/Go-Login
  126. github.com/Zephyyrr/authprox
  127. github.com/abduld/codetainer
  128. github.com/aclindsa/moneygo
  129. github.com/aclindsa/togodo
  130. github.com/acsellers/journey/authentication
  131. github.com/adayoung/gae-pastebin/pastebin/utils
  132. github.com/admpub/boltstore/store
  133. github.com/admpub/redistore
  134. github.com/admpub/securecookie/fuzz
  135. github.com/admpub/sessions
  136. github.com/adpalmer/sessions
  137. github.com/ahare/redistore
  138. github.com/ahsanulhaque/dynocator/dyno
  139. github.com/alankm/vorteil/core
  140. github.com/alarky/isucon3_qual_go
  141. github.com/alarky/isucon3_qual_go/sessions
  142. github.com/alisonwong/chat
  143. github.com/alistanis/disguard
  144. github.com/alvalea/alvalea-go-app/lib/auth/cookie
  145. github.com/ameske/nfl-pickem/http
  146. github.com/amlwwalker/gophish/auth
  147. github.com/andboson/qor-admin-test/config/auth
  148. github.com/andrewhare/redistore
  149. github.com/andrisetiawan/drone/remote/github
  150. github.com/aneshas/journey/authentication
  151. github.com/ansible-semaphore/semaphore/util
  152. github.com/antihax/redistore
  153. github.com/antonikonovalov/drone/plugin/remote/github
  154. github.com/antonikonovalov/drone/plugin/remote/gitlab
  155. github.com/antonikonovalov/drone/server/session
  156. github.com/antonlindstrom/pgstore
  157. github.com/anweiss/drone/plugin/remote/github
  158. github.com/anweiss/drone/plugin/remote/gitlab
  159. github.com/anweiss/drone/server/session
  160. github.com/apologue-dot-net/heim/backend
  161. github.com/apriendeau/drone/server/session
  162. github.com/aqtrans/ctx-csrf
  163. github.com/aqtrans/goauth
  164. github.com/arponr/talk
  165. github.com/arponr/yoneda/socket
  166. github.com/asdine/drone/plugin/remote/github
  167. github.com/asdine/drone/server/session
  168. github.com/astub/WebStartGo
  169. github.com/astub/pfm
  170. github.com/athieriot/drone/remote/github
  171. github.com/audreylim/go-crud
  172. github.com/ausrasul/jwt
  173. github.com/avesanen/blog
  174. github.com/awellock/ui-for-docker
  175. github.com/aykutaras/drone/plugin/remote/github
  176. github.com/aykutaras/drone/plugin/remote/gitlab
  177. github.com/aykutaras/drone/server/session
  178. github.com/badoet/journey/authentication
  179. github.com/bcooksey/Frontline
  180. github.com/bcspragu/Bananagrama
  181. github.com/bcspragu/Gobots
  182. github.com/bcspragu/Radiotation
  183. github.com/bcspragu/Radiotation/srv
  184. github.com/bearded-web/bearded/pkg/filters
  185. github.com/benbjohnson/rationl
  186. github.com/benschumacher/drone/server
  187. github.com/benschumacher/drone/yaml/transform
  188. github.com/beyouth/gophish/auth
  189. github.com/billyogat/journey/authentication
  190. github.com/blackkeyboard/mneumonic
  191. github.com/blang/posty/src/posty
  192. github.com/blang/posty/src/posty/oidc/example
  193. github.com/blasphemy/gormstore
  194. github.com/blckur/blckur/session
  195. github.com/blob-go/blob-go
  196. github.com/bnlcr/drone/remote/github
  197. github.com/boj/redistore
  198. github.com/boj/rethinkstore
  199. github.com/boj/riakstore
  200. github.com/boj/sessions
  201. github.com/boki/csrf
  202. github.com/bradberger/rest/cookies
  203. github.com/bradleypeabody/gorilla-sessions-memcache
  204. github.com/bradrydzewski/drone/server
  205. github.com/braindev/negroni-sessions/dalstore
  206. github.com/braindev/negroni-sessions/mongostore
  207. github.com/bramvdbogaerde/heim/backend
  208. github.com/brewinvaz/agile-metrics/src/controllers
  209. github.com/britishgreenworm/webtemplate
  210. github.com/bruhs/shopy
  211. github.com/bruhs/shopy/http/cookie
  212. github.com/brycereitano/tangelo/auth
  213. github.com/burl/drone/server
  214. github.com/burl/drone/yaml/transform
  215. github.com/burtgulash/teplydatel/server
  216. github.com/byxorna/drone/plugin/remote/github
  217. github.com/byxorna/drone/plugin/remote/gitlab
  218. github.com/byxorna/drone/server/session
  219. github.com/c4pt0r/channelhub
  220. github.com/captncraig/easyauth
  221. github.com/casualjim/drone/remote/github
  222. github.com/celeskyking/codetainer
  223. github.com/centrifugal/centrifugo/libcentrifugo
  224. github.com/chango/drone/plugin/remote/github
  225. github.com/chango/drone/server/session
  226. github.com/chrisprobst/authboss-sample
  227. github.com/cjslep/buv
  228. github.com/ckingdev/heim/backend
  229. github.com/clanstyles/drone/remote/github
  230. github.com/clarkezone/retwis-api-go
  231. github.com/clarkezone/retwis-go
  232. github.com/cless/sessions
  233. github.com/cloudway/platform/console/auth
  234. github.com/cmars/affinity/examples/openid-demo
  235. github.com/cmwright/drone/remote/github
  236. github.com/codequest-eu/pleasesquash.me/state
  237. github.com/codetainerapp/codetainer
  238. github.com/colegion/contrib/controllers/sessions
  239. github.com/colinn/dynamodbstore
  240. github.com/colorsocean/httpx
  241. github.com/cosmoshq/drone/plugin/remote/github
  242. github.com/cosmoshq/drone/plugin/remote/gitlab
  243. github.com/couchbaselabs/cbugg
  244. github.com/couchbaselabs/consolio
  245. github.com/cpalone/heim/backend
  246. github.com/crankycoder/FindMyDevice/wmf
  247. github.com/crantok/sessions
  248. github.com/crhym3/drone/remote/github
  249. github.com/cryptix/trakting
  250. github.com/cryptix/trakting/store
  251. github.com/cswank/gadgetsweb
  252. github.com/cswank/gadgetsweb/auth
  253. github.com/cswank/quimby
  254. github.com/cvvs/httpmiddleware/auth
  255. github.com/cyarie/tinyplannr-api
  256. github.com/cyarie/tinyplannr-api-v2/api
  257. github.com/cyarie/tinyplannr-api-v2/api/settings
  258. github.com/dalu/sessions
  259. github.com/dancannon/gonews/core/lib
  260. github.com/dancannon/gonews/web/controllers
  261. github.com/dancannon/gonews/web/middleware
  262. github.com/dancannon/gonews_old/core/lib
  263. github.com/dancannon/gonews_old/web/controllers
  264. github.com/dancannon/gonews_old/web/middleware
  265. github.com/danield21/danield-space/server
  266. github.com/daragao/goUntitled/auth
  267. github.com/davars/sohop
  268. github.com/davars/sohop/auth
  269. github.com/davars/sohop/store
  270. github.com/dave-tucker/drone/plugin/remote/github
  271. github.com/dave-tucker/drone/server/session
  272. github.com/davegreen200/core/app
  273. github.com/davegreen200/jamlib/router
  274. github.com/dblokhin/webapp/context
  275. github.com/dcondomitti/drone/plugin/remote/github
  276. github.com/dcondomitti/drone/plugin/remote/gitlab
  277. github.com/dcondomitti/drone/server/session
  278. github.com/dearing/blog
  279. github.com/denizeren/dynamostore
  280. github.com/denizeren/negroni-sessions/dalstore
  281. github.com/denizeren/negroni-sessions/mongostore
  282. github.com/denizeren/sessions
  283. github.com/depado/ginAuth
  284. github.com/desertbit/bitmonster/auth
  285. github.com/desertbit/bulldozer/sessions
  286. github.com/dghubble/sessions
  287. github.com/dhowett/ghostbin
  288. github.com/didiercrunch/onepixel/data
  289. github.com/diffeo/gddo/frontend
  290. github.com/digibib/folk_deprecated
  291. github.com/diogogmt/drone/server
  292. github.com/disintegration/quiet
  293. github.com/dmikalova/strava-api
  294. github.com/dominicphillips/redistore
  295. github.com/dominicphillips/sessions
  296. github.com/dorajistyle/goyangi/service/userService
  297. github.com/dradtke/damien-and-georgia.life
  298. github.com/drathier/couchbasestore
  299. github.com/drbawb/babou/lib/session
  300. github.com/drone/drone-exec/yaml/transform
  301. github.com/drone/drone/server
  302. github.com/drone/drone/yaml/transform
  303. github.com/dsoprea/go-appengine-sessioncascade
  304. github.com/dsoprea/goappenginesessioncascade
  305. github.com/dutchcoders/ghost/handlers
  306. github.com/dutok/retwis-go
  307. github.com/dworld/xingyun
  308. github.com/dyv/databases
  309. github.com/easykoo/easy_go/src/middleware
  310. github.com/easykoo/go-blog/middleware
  311. github.com/echa/redistore
  312. github.com/echlebek/csrf
  313. github.com/eclewlow/Go-HttpServer
  314. github.com/edmoz/FindMyDevice/wmf
  315. github.com/edvakf/isu3pre/go
  316. github.com/edvakf/isu3pre/go/sessions
  317. github.com/edwinwongsf/FindMyDevice/wmf
  318. github.com/ego008/goyoubbs/system
  319. github.com/egonelbre/sessions
  320. github.com/ejamesc/goblawg-test/cmd
  321. github.com/ejcx/G2B2
  322. github.com/ekkapob/buybits
  323. github.com/eknkc/govan
  324. github.com/elico/securecookie/fuzz
  325. github.com/eliquious/core
  326. github.com/elithrar/csrf
  327. github.com/elithrar/cyboard/cmd
  328. github.com/elithrar/mongostore
  329. github.com/elithrar/pgstore
  330. github.com/elithrar/redistore
  331. github.com/elithrar/rethinkstore
  332. github.com/elithrar/sessions
  333. github.com/elliotf/drone/server
  334. github.com/elliotf/drone/yaml/transform
  335. github.com/elopio/drone/remote/github
  336. github.com/elos-retired/httpserver
  337. github.com/elos/ehttp/builtin
  338. github.com/elos/httpserver
  339. github.com/ericchiang/oidc/oidcproxy
  340. github.com/ericlagergren/pnwconference/auth
  341. github.com/erik8/securecookie/fuzz
  342. github.com/escribano/affinity/examples/openid-demo
  343. github.com/etherealmachine/pilot
  344. github.com/etix/drone/plugin/remote/github
  345. github.com/etix/drone/plugin/remote/gitlab
  346. github.com/etix/drone/server/session
  347. github.com/euphoria-io/heim/backend
  348. github.com/evanj/bqtools
  349. github.com/evepraisal/go-evepraisal/evepraisal
  350. github.com/ewhal/Todolist
  351. github.com/fabian-z/webauth-ssh-go
  352. github.com/farazdagi/centrifugo/libcentrifugo
  353. github.com/fcavani/droute/middlewares/sessions
  354. github.com/fclairamb/drone/remote/github
  355. github.com/fedesog/cfs/cfs-server
  356. github.com/flavioribeiro/drone/server
  357. github.com/flavioribeiro/drone/yaml/transform
  358. github.com/flexd/csrf
  359. github.com/frapposelli/drone/remote/github
  360. github.com/freeformz/centrifugo/libcentrifugo
  361. github.com/future-challenger/journey/authentication
  362. github.com/futurez/drone/remote/github
  363. github.com/fxnn/gone/authenticator
  364. github.com/gabrielsimoes/OBIJudge
  365. github.com/gaego/session
  366. github.com/gaocegege/drone/server
  367. github.com/gaocegege/drone/yaml/transform
  368. github.com/gaorx/wee
  369. github.com/geobe/gostip/go/controller
  370. github.com/geobe/gostip/go/main
  371. github.com/gernest/aurora
  372. github.com/gernest/hero
  373. github.com/gernest/pgstore
  374. github.com/gernest/qlstore
  375. github.com/gernest/warlock
  376. github.com/gernest/wuxia/session
  377. github.com/gernest/zedlist/modules/session
  378. github.com/getgauge/cla-check
  379. github.com/getlantern/zenodb/web
  380. github.com/ggriffiniii/googleauth
  381. github.com/gigawattio/go-commons/pkg/web/cookieauth
  382. github.com/gigawattio/web/cookieauth
  383. github.com/gillesdemey/drone/server
  384. github.com/glaszig/drone/remote/github
  385. github.com/go-authboss/authboss-sample
  386. github.com/go-floki/sessions
  387. github.com/go-gem/sessions
  388. github.com/go-playground/mongostore
  389. github.com/goaltools/contrib/controllers/sessions
  390. github.com/gocontrib/auth
  391. github.com/godeep/centrifugo/libcentrifugo
  392. github.com/goincremental/negroni-sessions/dalstore
  393. github.com/goincremental/negroni-sessions/mongostore
  394. github.com/goji/csrf
  395. github.com/goji/ctx-csrf
  396. github.com/gomango/oidc
  397. github.com/gomango/spx
  398. github.com/goodsign/sessions
  399. github.com/google/skia-buildbot/go/login
  400. github.com/gophergala/card_sharp/config
  401. github.com/gophergala/card_sharp/lobby
  402. github.com/gophergala/sqldump
  403. github.com/gophergala2016/Gobots
  404. github.com/gophernoob/GopherLearn/http/gorilla
  405. github.com/gophish/gophish/auth
  406. github.com/gordyf/GoPersonaDemo/personaauth
  407. github.com/gorilla/csrf
  408. github.com/gorilla/securecookie/fuzz
  409. github.com/gorilla/sessions
  410. github.com/gotstago/go-tarabish/lib
  411. github.com/govau/cf-common/uaa
  412. github.com/grandmore/mgosessions
  413. github.com/greatbeyond/redistore
  414. github.com/greenpdx/gowss/gows/auth
  415. github.com/gregory90/drone/server/session
  416. github.com/gsempe/retwis-go
  417. github.com/gtaylor/drone/remote/github
  418. github.com/guus-vanweelden/zedlist/modules/session
  419. github.com/guusvw/zedlist/modules/session
  420. github.com/han2015/sessions
  421. github.com/hanxue/drone/server/session
  422. github.com/harborapp/harbor-api/model
  423. github.com/haste/tiers/model
  424. github.com/hawx/uberich/cookies
  425. github.com/hc5duke/bones/web/sessions
  426. github.com/heia-fr/thymio-captain/api
  427. github.com/helmi03/ghost/handlers
  428. github.com/henkman/exquisitecode
  429. github.com/heridev/gophergala_repositories/sqldump
  430. github.com/hipinion/elysium/src
  431. github.com/hkjn/drone/plugin/remote/github
  432. github.com/hkjn/drone/plugin/remote/gitlab
  433. github.com/hkjn/drone/server/session
  434. github.com/hlawrenz/pgstore
  435. github.com/hnakamur/gaesessions
  436. github.com/hoysoft/JexGO/sessions
  437. github.com/humboldtux/card_sharp/config
  438. github.com/humboldtux/card_sharp/lobby
  439. github.com/imikushin/drone/remote/github
  440. github.com/inge4pres/web_community/frontend
  441. github.com/ins429/futbol-cards
  442. github.com/internavenue/unlinked.in/server
  443. github.com/ipfans/fastsessions
  444. github.com/iris-contrib/middleware/csrf
  445. github.com/isucon/isucon6-final/portal
  446. github.com/isucon/isucon6-qualify/portal
  447. github.com/ivanarandjelovic/savet5/web
  448. github.com/jackmanlabs/webstack/habitat
  449. github.com/jackspirou/drone/remote/github
  450. github.com/jamesmillerio/YNAWB
  451. github.com/jamesog/scan
  452. github.com/jandre/codetainer
  453. github.com/janekolszak/rethinkstore
  454. github.com/jannispinter/kruemelmonster
  455. github.com/janos/sessions/boltstore
  456. github.com/janos/sessions/leveldbstore
  457. github.com/janos/sessions/sqlstore
  458. github.com/jawr/pgstore
  459. github.com/jbaikge/ingress-inventory
  460. github.com/jcbwlkr/cqlstore
  461. github.com/jcbwlkr/pgstore
  462. github.com/jcmturner/awsfederation/httphandling
  463. github.com/jdamick/drone/server
  464. github.com/jdamick/drone/yaml/transform
  465. github.com/jen20/drone/remote/github
  466. github.com/jeremyschlatter/email-viewer
  467. github.com/jgreat/drone/remote/github
  468. github.com/jhillyerd/inbucket/httpd
  469. github.com/jirentabu/sessions
  470. github.com/jllopis/boltstore/store
  471. github.com/jllopis/try5/api
  472. github.com/jllopis/try5/cmd/try5d
  473. github.com/joeybloggs/mongo-session-store
  474. github.com/joeybloggs/mongostore
  475. github.com/johnsto/csrf
  476. github.com/johnsto/go-passwordless
  477. github.com/johnsto/go-passwordless/example
  478. github.com/johnwchadwick/drone/server
  479. github.com/johnwchadwick/drone/yaml/transform
  480. github.com/johnweldon/dashboard.jwss.co
  481. github.com/johscheuer/origin/pkg/auth/server/session
  482. github.com/joinmytalk/satsuma
  483. github.com/joncody/rtgo
  484. github.com/joonazan/go-opas/palvelin
  485. github.com/jordan-wright/gophish/auth
  486. github.com/jrbudnack/shield/supervisor
  487. github.com/jrconlin/FindMyDevice/wmf
  488. github.com/jrossi/drone/plugin/remote/github
  489. github.com/jrossi/drone/server/session
  490. github.com/jrtabu/sessions
  491. github.com/jrwren/kittens
  492. github.com/jsimnz/redistore
  493. github.com/jstemmer/sqlstore
  494. github.com/julienc91/heygo/views
  495. github.com/junhsieh/csrf
  496. github.com/k2wanko/drone/remote/github
  497. github.com/kabukky/journey/authentication
  498. github.com/kameleon83/referentiel-go/controllers
  499. github.com/kapilt/drone/remote/github
  500. github.com/kataras/blob-go
  501. github.com/keep94/ramstore
  502. github.com/kempchee/GoEmberWebsockets
  503. github.com/kempchee/WashSales/controllers
  504. github.com/kempchee/washsales/controllers
  505. github.com/kenng/authboss-sample
  506. github.com/kenshinx/gophish/auth
  507. github.com/kentana20/isucon3/qualifier/webapp/go
  508. github.com/kentana20/isucon3/qualifier/webapp/go/sessions
  509. github.com/khirayama/go-training/login
  510. github.com/kiasaki/weeb
  511. github.com/kidstuff/WebAuth/auth
  512. github.com/kidstuff/WebAuth/auth/mgoauth
  513. github.com/kidstuff/auth
  514. github.com/kidstuff/auth-example/server
  515. github.com/kidstuff/auth-mongo-mngr
  516. github.com/kidstuff/auth/authmodel
  517. github.com/kidstuff/mongostore
  518. github.com/kidstuff/sessions
  519. github.com/kimiazhu/golib/sessions/mysqlstore
  520. github.com/kirubasankars/serve4/serve
  521. github.com/kisielk/sessions
  522. github.com/kitcambridge/FindMyDevice/wmf
  523. github.com/kjk/apptranslator
  524. github.com/kjk/fofou
  525. github.com/kjk/web-blog
  526. github.com/klauspost/centrifugo/libcentrifugo
  527. github.com/kleister/kleister-api/model
  528. github.com/knq/oauthmw
  529. github.com/knq/sessionmw
  530. github.com/kofj/drone/server
  531. github.com/kofj/drone/yaml/transform
  532. github.com/kortemy/journey/authentication
  533. github.com/kouphax/dopi
  534. github.com/kpernyer/drone/plugin/remote/github
  535. github.com/kpernyer/drone/plugin/remote/gitlab
  536. github.com/kri5/drone/remote/github
  537. github.com/kurin/visage/oauth2/github
  538. github.com/kurin/visage/oauth2/google
  539. github.com/lafriks/xormstore
  540. github.com/leyra/sessions
  541. github.com/ligadous/gophish/auth
  542. github.com/lighthouse/lighthouse/session
  543. github.com/linkeddata/gold
  544. github.com/lins05/drone/plugin/remote/github
  545. github.com/lins05/drone/plugin/remote/gitlab
  546. github.com/lins05/drone/server/session
  547. github.com/lins05/drone/yaml/transform
  548. github.com/liudch/go-blog/middleware
  549. github.com/liut/pgstore
  550. github.com/liwp-stephen/apptranslator
  551. github.com/lmjohns3/go-quantified
  552. github.com/logan/heim/backend
  553. github.com/logindave/voting-system/login
  554. github.com/lolilo/Golang_functionality/src
  555. github.com/lovego/xiaomei/session
  556. github.com/lowstz/drone/plugin/remote/github
  557. github.com/lowstz/drone/server/session
  558. github.com/lrstanley/links.ml
  559. github.com/lukevers/chitchat
  560. github.com/lxfontes/go-web/sessions
  561. github.com/m-b-/auth/cookie
  562. github.com/m-b-/auth/example
  563. github.com/m-b-/tags
  564. github.com/m-b-/www-base
  565. github.com/maddyonline/apptranslator
  566. github.com/maddyonline/drone/remote/github
  567. github.com/makyo/affinity/examples/openid-demo
  568. github.com/marcelolima/leasing_contract_generator/src/controller
  569. github.com/marcie001/mizumanju
  570. github.com/margic/origin/pkg/auth/server/session
  571. github.com/markmandel/recommendation-neo4j/lib
  572. github.com/mattbostock/leavediary
  573. github.com/mattbostock/leavediary/middleware/sessions
  574. github.com/mattyw/affinity/examples/openid-demo
  575. github.com/maxwell92/go-kexec
  576. github.com/mcervco/MiguelCervantesCo/services
  577. github.com/medimatrix/csrf
  578. github.com/mephux/envdb/envdb
  579. github.com/methane/isucon3-qual-go
  580. github.com/methane/isucon3-qual-go/sessions
  581. github.com/mgenware/gorilla-sessions
  582. github.com/michaelgibson/drone/remote/github
  583. github.com/michaeljs1990/sqlitestore
  584. github.com/mickelsonm/gophish/auth
  585. github.com/mikesouthron/reporting
  586. github.com/mikkeloscar/gokumail
  587. github.com/mikkeloscar/maze-repo/controller
  588. github.com/mikkeloscar/maze/controller
  589. github.com/mikkeloscar/maze/remote/github
  590. github.com/milescrabill/mirror-server
  591. github.com/miquella/rethinkdb_session_store
  592. github.com/missionMeteora/apiserv
  593. github.com/mkasner/negroni-sessions
  594. github.com/mmanjoura/adsa-cms/qor-example/config/auth
  595. github.com/mmanjoura/qor-example/config/auth
  596. github.com/mogaika/webvision/helpers
  597. github.com/momer/auth
  598. github.com/morpheusxaut/eveauth/session
  599. github.com/morpheusxaut/evepos/session
  600. github.com/morpheusxaut/lootsheeter
  601. github.com/morpheusxaut/redistore
  602. github.com/movableink/drone/plugin/remote/github
  603. github.com/movableink/drone/server/session
  604. github.com/mozilla-services/FindMyDevice/wmf
  605. github.com/mparaiso/gonews/core
  606. github.com/mpopova/BMI-manager
  607. github.com/msteinert/drone/remote/github
  608. github.com/msurdi/oauthproxy/server
  609. github.com/mt2d2/forum
  610. github.com/mwmahlberg/sessionmw
  611. github.com/mxmCherry/trafficrouter
  612. github.com/mxmCherry/trafficrouter/trafficrouter
  613. github.com/my-sign/HappyNgine
  614. github.com/my-sign/happyngine
  615. github.com/nabeken/gorilla-sessions-dynamodb/dynamostore
  616. github.com/nak3/drone/server
  617. github.com/nathan-osman/api2go-auth
  618. github.com/nathandao/neo4jstore
  619. github.com/needf/drone/server/session
  620. github.com/neko-contrib/sessions
  621. github.com/nesv/cassandrastore
  622. github.com/news-ai/gaesessions
  623. github.com/ngConsulti/affinity/examples/openid-demo
  624. github.com/ngtrimble/loiter
  625. github.com/ngtrimble/loiter/backend
  626. github.com/nickswift/dispatch
  627. github.com/nickswift/dispatch/cookies
  628. github.com/nictuku/mothership/login
  629. github.com/nim4/DBShield/dbshield/httpserver
  630. github.com/nise-nabe/isucon2013-go
  631. github.com/nise-nabe/isucon2013-go/sessions
  632. github.com/nixwaro/eveauth/session
  633. github.com/njdup/func
  634. github.com/njdup/wakeup-call-backend
  635. github.com/nkozyra/elysium/src
  636. github.com/nucleardump/go-wires-old/models
  637. github.com/nucleardump/go-wires/models
  638. github.com/nucleartide/go-wires/models
  639. github.com/nucleartide/mango/models
  640. github.com/nylar/apiserv
  641. github.com/objectpartners/drone/remote/github
  642. github.com/oesmith/agr/auth
  643. github.com/ojongerius/drone/remote/github
  644. github.com/omeid/redistore
  645. github.com/oov/gothic
  646. github.com/oov/sessions/cookie
  647. github.com/opennota/tl
  648. github.com/opennota/widdly
  649. github.com/openshift/origin/pkg/auth/server/session
  650. github.com/openshift/origin/pkg/oauthserver/server/session
  651. github.com/orian/authboss-sample
  652. github.com/ottogiron/drone/remote/github
  653. github.com/ozzadar/klouds-orig/controllers
  654. github.com/packet-guardian/packet-guardian/src/common
  655. github.com/papplampe/exquisitecode
  656. github.com/patrickToca/bones/repositories
  657. github.com/patrickjr/poker2/controllers
  658. github.com/peacekeeper/debian-gold
  659. github.com/peacekeeper/golang-github-gorilla-securecookie-dev/fuzz
  660. github.com/pelmers/autocompeter
  661. github.com/pereztr5/cyboard/server
  662. github.com/pereztr5/gophish/auth
  663. github.com/peterbe/autocompeter
  664. github.com/peterskeide/bones/web/sessions
  665. github.com/philboltt/postgrestore
  666. github.com/phonkee/redistore
  667. github.com/pilu/drone/plugin/remote/github
  668. github.com/pilu/drone/server/session
  669. github.com/piotrrojek/goyangi/service/userService
  670. github.com/pkallos/persona/example
  671. github.com/play-with-docker/play-with-docker/config
  672. github.com/polyglottis/platform/frontend/handle
  673. github.com/pratikju/dynamostore
  674. github.com/prezi/dashboard-controller/src/website/session
  675. github.com/projectatomic/atomic-enterprise/pkg/auth/server/session
  676. github.com/puerkitoBio/csrf
  677. github.com/puerkitoBio/ghost/handlers
  678. github.com/puerkitobio/csrf
  679. github.com/puerkitobio/ghost/handlers
  680. github.com/pyos/webmcast
  681. github.com/qor/qor-example/config/auth
  682. github.com/qorio/omni/http
  683. github.com/quadr/renian-board/board
  684. github.com/quasoft/memstore
  685. github.com/quexer/sessions
  686. github.com/radioinmyhead/ginAuth
  687. github.com/rageix/ginAuth
  688. github.com/raggaer/castro
  689. github.com/rancher/drone/server/session
  690. github.com/rastech/godoc/frontend
  691. github.com/rayark/osecure
  692. github.com/rayleyva/apptranslator
  693. github.com/rbastic/redistore
  694. github.com/rbin/cbugg
  695. github.com/rcadena/sessions
  696. github.com/rdallman/flaming-wookie
  697. github.com/reflexionhealth/vanilla/httpserver/stack
  698. github.com/reinbach/drone/plugin/remote/github
  699. github.com/reinbach/drone/plugin/remote/gitlab
  700. github.com/reinbach/drone/server/session
  701. github.com/restgo/session
  702. github.com/retro486/go-asset-repo/auth
  703. github.com/rhomel/webauth
  704. github.com/richard-lyman/edit
  705. github.com/richardbowden/autocompeter
  706. github.com/rics3n/drone/plugin/remote/github
  707. github.com/rics3n/drone/plugin/remote/gitlab
  708. github.com/rics3n/drone/server/session
  709. github.com/riking/homeapi/marvin/modules/weblogin
  710. github.com/riking/marvin/modules/weblogin
  711. github.com/rjourde/go.authentication/helpers
  712. github.com/rjourde/udacity.cs253.go/controllers
  713. github.com/rjourde/udacity.cs253.go/tools
  714. github.com/rkrdo/drone/remote/github
  715. github.com/rkusa/gold
  716. github.com/robarchibald/nginxauth
  717. github.com/robdimsdale/garagepi
  718. github.com/robdimsdale/garagepi/middleware
  719. github.com/robdimsdale/garagepi/web/login
  720. github.com/robobluebird/stop-and-golang
  721. github.com/robxu9/kahinah
  722. github.com/robzienert/authboss-sample
  723. github.com/roth1002/drone/plugin/remote/github
  724. github.com/roth1002/drone/plugin/remote/gitlab
  725. github.com/roth1002/drone/server/session
  726. github.com/royburns/go-blog/middleware
  727. github.com/ruizu/negroni-sessions/dalstore
  728. github.com/ruizu/negroni-sessions/mongostore
  729. github.com/rvelhote/dnspropagation/application
  730. github.com/rychipman/gold
  731. github.com/saces/drone/server
  732. github.com/sageru-6ch/anonircd
  733. github.com/sam-arch/mymindfulness
  734. github.com/samuelrayment/authatron
  735. github.com/sauerbraten/persona/example
  736. github.com/savaki/dynamodbstore
  737. github.com/savaki/dynastore
  738. github.com/sbadakhc/origin/pkg/auth/server/session
  739. github.com/schnoddelbotz/amtgo/webserver
  740. github.com/scord/goblog
  741. github.com/scrapinghub/drone/plugin/remote/github
  742. github.com/scrapinghub/drone/plugin/remote/gitlab
  743. github.com/scrapinghub/drone/server/session
  744. github.com/sdd330/drone/plugin/remote/github
  745. github.com/sdd330/drone/plugin/remote/gitlab
  746. github.com/sdd330/drone/server/session
  747. github.com/seanpowell/repor
  748. github.com/seedboxtech/goauthorizer
  749. github.com/seh/handler
  750. github.com/sekhat/simpleauth
  751. github.com/sgotti/drone/plugin/remote/github
  752. github.com/sgotti/drone/server/session
  753. github.com/shampur/etcdstore
  754. github.com/shampur/objdbstore
  755. github.com/shicky/go-gorilla-skeleton
  756. github.com/shicky/gowebterm/app
  757. github.com/shoenig/csrf
  758. github.com/shopsmart/autocompeter
  759. github.com/shuaiming/mung/middlewares/sessions
  760. github.com/sickyoon/govideo/govideo
  761. github.com/sikang99/goyangi/service/userService
  762. github.com/silverweed/mabel/src
  763. github.com/sipin/xingyun
  764. github.com/sisatech/misc/handler
  765. github.com/sisatech/vorteil-server/server
  766. github.com/sivel/drone/remote/github
  767. github.com/sivel/keyster
  768. github.com/skatsuta/codetainer
  769. github.com/skx/purppura
  770. github.com/skyjia/sessions
  771. github.com/slimsag/csrf
  772. github.com/solderapp/solder-api/model
  773. github.com/solderapp/solder/model
  774. github.com/songofhack/bearded/pkg/filters
  775. github.com/songofhack/gophish/auth
  776. github.com/sore0159/golang-app-auth
  777. github.com/sorenmat/drone/remote/github
  778. github.com/sourcegraph/track
  779. github.com/specode/journey/authentication
  780. github.com/sprt/photofind
  781. github.com/sridif/sessions
  782. github.com/srinathgs/couchbasestore
  783. github.com/srinathgs/mysqlstore
  784. github.com/stackdocker/http-session-redis-sentinel-backend
  785. github.com/stackdocker/http-session-redis-sentinel-backend/wui
  786. github.com/stancarney/gowork
  787. github.com/stapelberg/scan2drive
  788. github.com/starJammer/gorilla-sessions-arangodb
  789. github.com/starJammer/sessions
  790. github.com/starkandwayne/shield/supervisor
  791. github.com/steventianhao/sslot/web
  792. github.com/strk/drone/server
  793. github.com/strk/drone/yaml/transform
  794. github.com/strukturag/spreed-webrtc/go/channelling
  795. github.com/stuartfenton/mgosessions
  796. github.com/summerwind/oidc/oidcproxy
  797. github.com/sumohammed/Go-login-system-
  798. github.com/sunspots/rethinkstore
  799. github.com/superordinate/klouds/controllers
  800. github.com/svarlamov/gophish/auth
  801. github.com/swanwish/go-common/web
  802. github.com/swsnider/mysqlstore
  803. github.com/systems-united-navy/tspm
  804. github.com/tam7t/drone/remote/github
  805. github.com/tappleby/slack_auth_proxy
  806. github.com/tchap/securecookie/fuzz
  807. github.com/tchap/steemwatch/server
  808. github.com/tconley1428/gogoban/users
  809. github.com/ter0/inkwell
  810. github.com/term1nal/kittens
  811. github.com/theaidem/aerostore
  812. github.com/therainingmonkey/ScrambledSpiritsCMS/auth
  813. github.com/thesyncim/auth
  814. github.com/thesyncim/auth-mongo-mngr
  815. github.com/thesyncim/auth/authmodel
  816. github.com/thockin/origin/pkg/auth/server/session
  817. github.com/tixel/gold
  818. github.com/tobbysembiring/gophish/auth
  819. github.com/tobert/cassandra-summit-cfp-review
  820. github.com/tobscher/drone/plugin/remote/github
  821. github.com/tobscher/drone/plugin/remote/gitlab
  822. github.com/tobscher/drone/server/session
  823. github.com/tom--bo/isucon3
  824. github.com/tom--bo/isucon3go
  825. github.com/tomclegg/webmcast
  826. github.com/tomkwok/journey/authentication
  827. github.com/tonto/journey/authentication
  828. github.com/torfuzx/drone/remote/github
  829. github.com/torfuzx/journey/authentication
  830. github.com/tortuoise/sessions
  831. github.com/towski/dwarfomatic
  832. github.com/tpjg/RadiusAuthProxy
  833. github.com/trantor-library/trantor
  834. github.com/trapple/isucon3/webapp/go
  835. github.com/trapple/isucon3/webapp/go/sessions
  836. github.com/trevorprater/journey/authentication
  837. github.com/trihatmaja/goyangi/service/userService
  838. github.com/troyxmccall/goblahg/authentication
  839. github.com/troyxmccall/gophish/auth
  840. github.com/tsiminiya/csrf
  841. github.com/turgay/heybe
  842. github.com/twinj/journey/authentication
  843. github.com/umschlag/umschlag-api/model
  844. github.com/umschlag/umschlag-api/pkg/model
  845. github.com/unitrans/unitrans
  846. github.com/unixpickle/1mage.us
  847. github.com/unixpickle/goule
  848. github.com/unixpickle/jobempire
  849. github.com/upframe/shopy
  850. github.com/upframe/shopy/http/cookie
  851. github.com/urakozz/transpoint.io
  852. github.com/vanackere/pgstore
  853. github.com/vanackere/sessions
  854. github.com/variadico/pqstore
  855. github.com/victorystick/authprox
  856. github.com/vincentserpoul/moma/auth
  857. github.com/vinitkumar/journey/authentication
  858. github.com/vitalie/negroni-sessions/dalstore
  859. github.com/vitalie/negroni-sessions/mongostore
  860. github.com/vjscjp/api4/core/server
  861. github.com/vladvelici/sessions
  862. github.com/vmware/vic/cmd/vicadmin
  863. github.com/vsheffer/drone/plugin/remote/github
  864. github.com/vsheffer/drone/plugin/remote/gitlab
  865. github.com/vsheffer/drone/server/session
  866. github.com/wader/gormstore
  867. github.com/waniji/isucon3-yosen/go
  868. github.com/wayf-dk/wayfhybrid
  869. github.com/wayneashleyberry/csrf
  870. github.com/wayt/HappyNgine
  871. github.com/wayt/happyngine
  872. github.com/weaveworks/ghost/handlers
  873. github.com/webhippie/harbor/model
  874. github.com/webx-top/echo/middleware/session
  875. github.com/webx-top/echo/middleware/session/engine/cookie
  876. github.com/webx-top/webx
  877. github.com/whitney/auth
  878. github.com/wind85/cookies
  879. github.com/wizarddewhite/web-blog
  880. github.com/wkj/sessions
  881. github.com/wrouesnel/drone/remote/github
  882. github.com/wscherphof/secure
  883. github.com/wujiang/chatable
  884. github.com/x-cray/drone/remote/github
  885. github.com/x1ddos/drone/remote/github
  886. github.com/xiaoenai/xingyun
  887. github.com/xiris/drone/server
  888. github.com/xiris/drone/yaml/transform
  889. github.com/yanndr/GoWebApp/security
  890. github.com/yone098/drone/remote/github
  891. github.com/yosssi/boltstore/store
  892. github.com/yosssi/xpress/app/models
  893. github.com/yuriyklepikov/sessions
  894. github.com/yyn1110/drone/remote/github
  895. github.com/zedio/zedlist/modules/session
  896. github.com/zemirco/memorystore
  897. github.com/zephyyrr/authprox
  898. github.com/zet4/disguard
  899. github.com/zettazete/tangelo/auth
  900. github.com/zhangpeihao/drone/remote/github
  901. github.com/zhoukk/sessions
  902. github.com/zpas-lab/csrf
  903. github.com/zscawd12/drone/plugin/remote/github
  904. github.com/zscawd12/drone/plugin/remote/gitlab
  905. github.com/zscawd12/drone/server/session
  906. github.com/zxchris/discourse-sso-go
  907. gitlab.com/davars/sohop
  908. gitlab.com/davars/sohop/auth
  909. gitlab.com/davars/sohop/store
  910. gitlab.com/trantor/trantor/lib
  911. go.skia.org/infra/go/login
  912. gopkg.in/bluesuncorp/mongo-session-store.v1
  913. gopkg.in/bluesuncorp/mongo-session-store.v2
  914. gopkg.in/bluesuncorp/mongo-session-store.v3
  915. gopkg.in/bluesuncorp/mongo-session-store.v4
  916. gopkg.in/bluesuncorp/mongostore.v1
  917. gopkg.in/bluesuncorp/mongostore.v2
  918. gopkg.in/bluesuncorp/mongostore.v3
  919. gopkg.in/bluesuncorp/mongostore.v4
  920. gopkg.in/boj/redistore.v1
  921. gopkg.in/go-playground/mongostore.v1
  922. gopkg.in/go-playground/mongostore.v2
  923. gopkg.in/go-playground/mongostore.v3
  924. gopkg.in/go-playground/mongostore.v4
  925. gopkg.in/goanywhere/web.v0/web
  926. gopkg.in/gorilla/securecookie.v1/fuzz
  927. gopkg.in/gorilla/sessions.v0
  928. gopkg.in/gorilla/sessions.v1
  929. gopkg.in/joeybloggs/mongo-session-store.v1
  930. gopkg.in/joeybloggs/mongo-session-store.v2
  931. gopkg.in/joeybloggs/mongo-session-store.v3
  932. gopkg.in/joeybloggs/mongo-session-store.v4
  933. gopkg.in/kidstuff/WebAuth.v0/auth
  934. gopkg.in/kidstuff/WebAuth.v0/auth/mgoauth
  935. gopkg.in/kidstuff/v0/mongostore
  936. gopkg.in/kleister/kleister-api.v0/model
  937. gopkg.in/leyra/sessions.v1
  938. gorillatoolkit.org/pkg/sessions
  939. hawx.me/code/uberich/cookies
  940. resenje.org/sessions/sqlstore
  941. skia.googlesource.com/buildbot.git/go/login

Imported only in test by 10 package(s)

  1. github.com/chmike/securecookie
  2. github.com/cryptix/go/http/auth
  3. github.com/kubernetes/test-infra/prow/githuboauth
  4. github.com/lmeunier/gorgon/app
  5. github.com/mattbostock/leavediary/handler
  6. github.com/nucleardump/go-wires/routes
  7. github.com/nucleartide/go-wires/routes
  8. github.com/nucleartide/mango/routes
  9. github.com/rogeecn/iris
  10. github.com/strukturag/spreed-webrtc/go/channelling/api