xonecas.io
8058
Ir

irvc / files

irvc / deploy / dev / seed.sql

929 bytes
1-- Dev-only test users. Password for every account: 11111111
2-- Hashes are argon2id, matching auth.go's hashPassword (t=1, m=64MiB, p=4, keylen=32).
3INSERT INTO users (username, pass_hash, created_at) VALUES
4	('sean',      'gZforph+de817Cr6ohhoug$m2bqf60Ll68Vixhp44xXtM7m6/HqYCcrxvIuv7mAX7Q', strftime('%s', 'now')),
5	('bananaman', 'kQYrZURG60asQB45U8av2g$rac2chwUDfSlXhu2GQCYV9GauBaKKbtkgpwsHXXqNlg', strftime('%s', 'now')),
6	('wombat',    'iWzC1hCpH2VkorVItZ9oIg$iUv73VNZ8DO29QeKeioHFg3sDt+Fdg05YUa+475QM/0', strftime('%s', 'now')),
7	('moonlord',  'zVCrYmMgKvADAdOQi2Kzkg$b4RsSbtwR/b6hO8Tgq11H7e3+4SWvVNcqmiOZpy+E80', strftime('%s', 'now')),
8	('toaster',   'pd9PFENM1ZH/kNVWatUlGg$9tH8upyAAphKdfPjDf6MTpbEFvuDUVuniI9dP4koTZ4', strftime('%s', 'now')),
9	('kebab',     'PR1xIg+JM9Tb90jb+ob2Ow$thOTNwhjuDIHDPu4B093ghmk+LpSy13XWoczwUny6j8', strftime('%s', 'now'))
10ON CONFLICT(username) DO UPDATE SET pass_hash = excluded.pass_hash;