Restic hangs forever initializing a backblaze b2 repo

I want to use restic with backblaze but even intialization does not work:

restic init -r b2:xxxxx:test -vvv
enter password for new repository: 
enter password again: 

after entering the password, nothing happens.

restic 0.12.1 compiled with go1.17.3 on linux/amd64

I am using Archlinux

uname -a
Linux archlinux 5.16.4-arch1-1 #1 SMP PREEMPT Sat, 29 Jan 2022 19:08:13 +0000 x86_64 GNU/Linux

There are already issues reported

But maybe somebody has a workaround!?

Backblaze now has S3 compatible APIs. Have you tried using that?

Nope, but I will give it a shot. I assume for that I have to use endpoint mentioned in the bucket!?

Many thanks for the hint @764287, at least I get a response

 restic init -r
enter password for new repository: 
enter password again: 
Fatal: create key in repository at failed: client.PutObject: not entitled

Looks like I miss some permissions, even so the key looks fine

deleteFiles, listAllBucketNames, listBuckets, listFiles, readBucketEncryption, readBuckets, readFiles, shareFiles, writeBucketEncryption, writeFiles

Have to check what’s going on.

Ok there was something wrong with my key, created a new one and looks fine using s3. b2 option also works, once the key was fixed. Will feed this back to the issues