~frode

~frode/public

Last active 5 years ago
View more

Recent activity

[PATCH v2] Demonstrate that I can use git send-email 8 months ago

From Frode Aannevik to ~sircmpwn/email-test-drive

---
 bob | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 bob

diff --git a/bob b/bob
new file mode 100644
index 0000000..66cb3d4
--- /dev/null
@@ -0,0 +1 @@
I have successfully used git send-email!
-- 
2.42.0
[message trimmed]

[PATCH] Demonstrate that I can use git send-email 8 months ago

From Frode Aannevik to ~sircmpwn/email-test-drive

---
 bob | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 bob

diff --git a/bob b/bob
new file mode 100644
index 0000000..6d0ecfd
--- /dev/null
@@ -0,0 +1 @@
I'm about to try git send-email
-- 
2.42.0
[message trimmed]

Re: Relicensing aerc to GPL 1 year, 3 months ago

From Frode Aannevik to ~rjarry/aerc-devel

Hi,

On 2023-02-20 18:59 +0100, Robin Jarry wrote:
> 
> Could you please respond to this message stating whether you accept or
> refuse the change of license from MIT to GPL[2] for the aerc project.
> This will only affect future versions of aerc. Existing releases will
> remain with their original license (MIT).

I accept the change to GPL.

--
Frode

[PATCH] Fix: oauthbearer runtime error 4 years ago

From Frode Aannevik to ~sircmpwn/aerc

Configure an oauthbearer source without a token_endpoint
parameter would panic due to nil pointer dereference

  Example
    source=imaps+oauthbearer://frode.aa%40gmail.com@imap.gmail.com:993
    source-cred-cmd=pass oatuh2 frode.aa@gmail.com

token_endpoint is not required as it will use the provided
password as access_token when it is not set
---
 worker/imap/worker.go | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/worker/imap/worker.go b/worker/imap/worker.go
[message trimmed]

[PATCH] Demonstrate that I can use git send-email! 4 years ago

From Frode Aannevik to ~sircmpwn/email-test-drive

---
 frode | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 frode

diff --git a/frode b/frode
new file mode 100644
index 0000000..b4380e4
--- /dev/null
+++ b/frode
@@ -0,0 +1 @@
I'm about to try git send-email!
-- 
2.20.1
[message trimmed]

Re: [PATCH v2] Support imaps with oauthbearer authentication (Gmail) 4 years ago

From Frode Aannevik to ~sircmpwn/aerc

v2 fixes the runtime error

[PATCH v2] Support imaps with oauthbearer authentication (Gmail) 4 years ago

From Frode Aannevik to ~sircmpwn/aerc

    imaps+oauthbearer://user:token@host?token_endpoint=...

 - the config Source password is used as access token if
   no token_endpoint parameter is set
 - the config Source password is used as refresh token if
   token_endpoint parameter is set, and used to exchange
   with an access token

The implementation has only been tested with Gmail.

    source = imaps+oauthbearer://{username}:{refersh_token}@imap.gmail.com:993? \
    client_id=XX&\
    client_secret=XX&\
    token_endpoint=https%3A%2F%2Faccounts.google.com%2Fo%2Foauth2%2Ftoken
[message trimmed]

[PATCH] Support imaps with oauthbearer authentication (Gmail) 4 years ago

From Frode Aannevik to ~sircmpwn/aerc

    imaps+oauthbearer://user:token@host?token_endpoint=...

 - the config Source password is used as access token if
   no token_endpoint parameter is set
 - the config Source password is used as refresh token if
   token_endpoint parameter is set, and used to exchange
   with an access token

The implementation has only been tested with Gmail.

    source = imaps+oauthbearer://{username}:{refersh_token}@imap.gmail.com:993? \
    client_id=XX&\
    client_secret=XX&\
    token_endpoint=https%3A%2F%2Faccounts.google.com%2Fo%2Foauth2%2Ftoken
[message trimmed]

Re: [PATCH v2] imaps+xoauth2: support gmail 4 years ago

From Frode Aannevik to ~sircmpwn/aerc

On 2019-06-24 13:34 -0400, Drew DeVault wrote:
> Gotcha. I would rather pursue it than merge XOAUTH support, even if it
> means we have to start by implementing it in go-sasl first.

Agree, I have created a pull request for go-sasl [1]

I have also looked at how OAuthBearer is supported in
Mutt [2], with 'imap_oauth_refresh_command' for generating
accesses token

we could use the `source-cred-cmd` for the same purpose
and simplify the implementation

1: https://github.com/emersion/go-sasl/pull/10

Re: [PATCH v2] imaps+xoauth2: support gmail 4 years ago

From Frode Aannevik to ~sircmpwn/aerc

On 2019-06-23 23:11 -0400, Drew DeVault wrote:
> Have you had a chance to evaluate OAUTHBEARER?

did some, and I think it is a better approach to
use it instead of XOAUTH as it may be better supported
by other email providers

the downside with it seems only to be its lib support [1]

1: https://github.com/emersion/go-sasl/issues/6