• Stars
    star
    103
  • Rank 332,093 (Top 7 %)
  • Language
    PHP
  • Created about 15 years ago
  • Updated about 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Auth module for Kohana v3

Kohana auth module

ver Stable Develop
3.3.x Build Status - 3.3/master Build Status - 3.3/develop
3.4.x Build Status - 3.4/master Build Status - 3.4/develop

I've forked the main Auth module because there were some fundamental flaws with it:

  1. It's trivial to bruteforce publicly hidden salt hashes.
    • I've fixed this by switching the password hashing algorithm to the more secure secret-key based hash_hmac method.
  2. ORM drivers were included.
    • I've fixed this by simply removing them. They cause confusion with new users because they think that Auth requires ORM. The only driver currently provided by default is the file driver.
  3. Auth::get_user()'s api is inconsistent because it returns different data types.
    • I've fixed this by returning an empty user model by default. You can override what gets returned (if you've changed your user model class name for instance) by overloading the get_user() method in your application.

These changes should be merged into the mainline branch eventually, but they completely break the API, so likely won't be done until 3.1.

More Repositories

1

kohana

Basic application with official modules included
PHP
1,545
star
2

core

Core system classes from Kohana
PHP
635
star
3

userguide

Kohana user guide and live API documentation module
PHP
164
star
4

database

A Kohana module for database interactions, building queries, and prepared statements
PHP
159
star
5

orm

Kohana ORM
PHP
159
star
6

minion

Everyone loves having a minion they can boss around
PHP
113
star
7

unittest

PHPUnit integration for Kohana
PHP
111
star
8

image

A Kohana module for manipulating images
PHP
103
star
9

cache

Cache library for Kohana 3
PHP
78
star
10

kohanaframework.org

Kohana Framework main website
PHP
65
star
11

coding-standards

PHPCS rules for the Kohana framework
PHP
58
star
12

ohanzee-helpers

PHP
56
star
13

codebench

A benchmarking module for Kohana 3.x
PHP
32
star
14

Kohana.tmbundle

A TextMate bundle for Kohana v3
30
star
15

ohanzee

Website for Ohanzee project
CSS
15
star
16

cascading-filesystem

A virtual filesystem formed from merging multiple directories
PHP
13
star
17

ohanzee-router

Router component for Ohanzee
9
star
18

kohana-ci

kohana-ci
Shell
8
star
19

kohana.github.com

Github user page for Kohana PHP Framework
PHP
7
star
20

ohanzee-request

Ohanzee component for HTTP Request and Response wrapping
7
star
21

kohana2

Archive repo for Kohana2 framework - NOT MAINTAINED
PHP
7
star
22

Kohana-Redmine

Kohana's Redmine changes
Ruby
6
star
23

koharness

Create test harnesses for Kohana modules by building a clean application container with all dependencies
PHP
5
star
24

ohanzee-db

Ohanzee database component
PHP
3
star
25

doctrine

Doctrine integration for Kohana
PHP
3
star
26

chef-redmine

Redmine Recipe for Kohana
Ruby
2
star
27

vanilla-theme-kohana

Kohana's Vanilla Theme
PHP
1
star