
Hey! I'd like to announce the release of happstack-auth-0.2 [1]. It offers an easy (and secure) way to implement user authentication for Happstack web applications with a lot of high level functions and a solid Happstack-State back-end. The original project got started by MightyByte, until I took it over and improved the whole package. As a result, the API has changed a lot and if you were using the old happstack-auth you might consider rewriting your application to use the new api.* However, your applications state will be completely compatible with the new version and be migrated automatically. The package got uploaded to hackage and can now be installed via cabal: cabal install happstack-auth It should build with both, the current stable release of happstack (0.5.0.2) and the latest darcs version (0.5.1). If there are any errors/bugs during building/running, please contact me! A demonstration website is up and running with about 30 lines of code (+ html templates and the actual happstack server code) at [2]. If you don't want to wait until hackage rendered the haddock pages, you can take a look at the (latest git version of the) API at [3]. Hope you enjoy it! :) - Nils Schweinsberg / McManiaC * You can still use the old state-query/update constructors by importing "Happstack.Auth.Internal", although you'll miss a lot of features like session management etc. In addition, MightyBytes old repo should be still available at [4]. [1] http://hackage.haskell.org/package/happstack-auth [2] http://n-sch.de/happstack-auth [3] http://n-sch.de/hdocs/happstack-auth [4] http://github.com/mightybyte/happstack-auth

Am 17.09.2010 22:06, schrieb Nils Schweinsberg:
Hackage fails to build this package: http://hackage.haskell.org/packages/archive/happstack-auth/0.2/logs/failure/... However, "Crypto == 4.*" should be on hackage: http://hackage.haskell.org/package/Crypto-4.2.1 Is there anything I can do with my package to get this to build?

On Sat, Sep 18, 2010 at 08:19:33PM +0200, Nils Schweinsberg wrote:
Am 17.09.2010 22:06, schrieb Nils Schweinsberg:
Hackage fails to build this package:
http://hackage.haskell.org/packages/archive/happstack-auth/0.2/logs/failure/...
However, "Crypto == 4.*" should be on hackage:
http://hackage.haskell.org/package/Crypto-4.2.1
Is there anything I can do with my package to get this to build?
Unfortunately Crypto-4.2.1 was broken by the latest version of QuickCheck (2.3), which introduced Arbitrary instances for the Word types: http://hackage.haskell.org/packages/archive/Crypto/4.2.1/logs/failure/ghc-6.... A new release of Crypto, without those instances, is needed.

Why are you using Crypto? I'm hoping to make "Crypto" as we know it
obsolete. To that end, I've been working on a unified interface
(crypto-api) and after the algorithms packages catch up I planned to
make a meta package "crypto-algs".
Cheers,
Thomas
On Sat, Sep 18, 2010 at 11:19 AM, Nils Schweinsberg
Am 17.09.2010 22:06, schrieb Nils Schweinsberg:
Hackage fails to build this package:
http://hackage.haskell.org/packages/archive/happstack-auth/0.2/logs/failure/...
However, "Crypto == 4.*" should be on hackage:
http://hackage.haskell.org/package/Crypto-4.2.1
Is there anything I can do with my package to get this to build? _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
participants (3)
-
Nils Schweinsberg
-
Ross Paterson
-
Thomas DuBuisson