Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706386 - net-im/telegram-desktop: use official gentoo API credentials at build time.
Summary: net-im/telegram-desktop: use official gentoo API credentials at build time.
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Georgy Yakovlev
Depends on:
Reported: 2020-01-26 05:06 UTC by Georgy Yakovlev
Modified: 2020-02-14 07:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Georgy Yakovlev archtester gentoo-dev 2020-01-26 05:06:34 UTC
Currently we build telegram with API_TEST creds and it may limit connectivity to telegram API servers for users.
Users also have a way to override the API at build time, but this is not great UX.

debian has their own creds publushed here

our chromium ebuilds also contains similar api key for google services.

I've sent an email to telegram API guys and requested our DISTRO API creds.
for obvious reasons I do not wish to attach api creds to my personal telegram account.
Comment 1 Georgy Yakovlev archtester gentoo-dev 2020-02-14 06:52:15 UTC
after some research and chatting with other maintainers and contributors it seems it's impossible to obtain distro-specific creds.
but we can use same creds telegram uses to build snaps

will switch to that (but will still leave specifying custom ID possible)
Comment 2 Larry the Git Cow gentoo-dev 2020-02-14 07:31:00 UTC
The bug has been closed via the following commit(s):

commit b874bcd2d812eca72729978b20a778b6d7e20738
Author:     Georgy Yakovlev <>
AuthorDate: 2020-02-14 07:22:19 +0000
Commit:     Georgy Yakovlev <>
CommitDate: 2020-02-14 07:30:35 +0000

    net-im/telegram-desktop: use snapcraft api creds
    Package-Manager: Portage-2.3.88, Repoman-2.3.20
    Signed-off-by: Georgy Yakovlev <>

 ...13.ebuild => telegram-desktop-1.9.13-r1.ebuild} | 27 +++++++++++-----------
 1 file changed, 14 insertions(+), 13 deletions(-)